daggerheart/module/applications/sheets/items/community.mjs
WBHarry 2a4777f1a0
[Fix] Itemlink Redux Revengeance (#399)
* Small random fixes

* Added use of ItemLinkFields

* Multiclass levelup fixes

* Fixed our onCreate methods unintentionally being run on all clients

* Remade apps handling

* Added for all class items and subclass

* Restored foreignDocumentUuidField

* Improved

* PR fxies

* Fixed tooltip enrichment

* .

* Reverted silly change
2025-07-26 00:37:30 +02:00

23 lines
642 B
JavaScript

import DHHeritageSheet from '../api/heritage-sheet.mjs';
export default class CommunitySheet extends DHHeritageSheet {
/**@inheritdoc */
static DEFAULT_OPTIONS = {
classes: ['community']
};
/**@inheritdoc */
static PARTS = {
header: { template: 'systems/daggerheart/templates/sheets/items/community/header.hbs' },
...super.PARTS,
features: {
template: 'systems/daggerheart/templates/sheets/global/tabs/tab-features.hbs',
scrollable: ['.feature']
}
};
/**@inheritdoc */
get relatedDocs() {
return this.document.system.features;
}
}