mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-17 15:39:02 +01:00
see if this picks up the changes now
This commit is contained in:
parent
b525995653
commit
c968b77ddc
3 changed files with 14 additions and 19 deletions
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue