see if this picks up the changes now

This commit is contained in:
psitacus 2025-07-12 03:20:47 -06:00
parent b525995653
commit c968b77ddc
3 changed files with 14 additions and 19 deletions

View file

@ -21,6 +21,19 @@ export default function ItemAttachmentSheet(Base) {
} }
}; };
static TABS = {
...super.TABS,
primary: {
...super.TABS?.primary,
tabs: [
...(super.TABS?.primary?.tabs || []),
{ id: 'attachments' }
],
initial: super.TABS?.primary?.initial || 'description',
labelPrefix: super.TABS?.primary?.labelPrefix || 'DAGGERHEART.GENERAL.Tabs'
}
};
async _preparePartContext(partId, context) { async _preparePartContext(partId, context) {
await super._preparePartContext(partId, context); await super._preparePartContext(partId, context);

View file

@ -30,15 +30,6 @@ export default class ArmorSheet extends ItemAttachmentSheet(DHBaseItemSheet) {
...super.PARTS, ...super.PARTS,
}; };
/** @override */
static TABS = {
primary: {
tabs: [{ id: 'description' }, { id: 'actions' }, { id: 'settings' }, { id: 'attachments' }],
initial: 'description',
labelPrefix: 'DAGGERHEART.GENERAL.Tabs'
}
};
/**@inheritdoc */ /**@inheritdoc */
async _preparePartContext(partId, context) { async _preparePartContext(partId, context) {
await super._preparePartContext(partId, context); await super._preparePartContext(partId, context);

View file

@ -30,15 +30,6 @@ export default class WeaponSheet extends ItemAttachmentSheet(DHBaseItemSheet) {
...super.PARTS, ...super.PARTS,
}; };
/** @override */
static TABS = {
primary: {
tabs: [{ id: 'description' }, { id: 'actions' }, { id: 'settings' }, { id: 'attachments' }],
initial: 'description',
labelPrefix: 'DAGGERHEART.GENERAL.Tabs'
}
};
/**@inheritdoc */ /**@inheritdoc */
async _preparePartContext(partId, context) { async _preparePartContext(partId, context) {
await super._preparePartContext(partId, context); await super._preparePartContext(partId, context);