feat(StatusBar, falukantService): enhance character information display and UI structure
- Updated falukantService to include predefined first and last names in character data retrieval. - Refactored StatusBar component layout to improve organization and visual clarity, introducing sections for identity and stats. - Enhanced character name handling to prioritize display names, ensuring a more dynamic user experience.
This commit is contained in:
@@ -995,6 +995,10 @@ class FalukantService extends BaseService {
|
||||
model: FalukantCharacter,
|
||||
as: 'character',
|
||||
attributes: ['id', 'birthdate', 'health', 'reputation', 'titleOfNobility'],
|
||||
include: [
|
||||
{ model: FalukantPredefineFirstname, as: 'definedFirstName', attributes: ['name'] },
|
||||
{ model: FalukantPredefineLastname, as: 'definedLastName', attributes: ['name'] },
|
||||
],
|
||||
},
|
||||
],
|
||||
attributes: ['id', 'money']
|
||||
|
||||
Reference in New Issue
Block a user