Minor fixes and tweaks for the party sheet (#1239)

* Minor fixes and tweaks for the party sheet

* Fix scroll restoration for party sheet tabs
This commit is contained in:
Carlos Fernandez 2025-11-04 11:13:44 -05:00 committed by GitHub
parent a3f079d111
commit 4f990166f5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 6 additions and 5 deletions

View file

@ -675,7 +675,6 @@ export default class DhCharacter extends BaseDataActor {
}
_getTags() {
const tags = [this.class.value.name, this.class.subclass.name, this.community.name, this.ancestry.name];
return tags;
return [this.class.value?.name, this.class.subclass?.name, this.community?.name, this.ancestry?.name].filter((t) => !!t);
}
}