17 lines
390 B
JavaScript
17 lines
390 B
JavaScript
|
import { RdDItemSheet } from "./item-sheet.js";
|
||
|
|
||
|
export class RdDServiceItemSheet extends RdDItemSheet {
|
||
|
|
||
|
static get ITEM_TYPE() { return "service" };
|
||
|
|
||
|
async getData() {
|
||
|
const formData = await super.getData();
|
||
|
formData.disabled = formData.isGM || formData.isOwned ? '' : 'disabled';
|
||
|
return formData;
|
||
|
}
|
||
|
|
||
|
activateListeners(html) {
|
||
|
super.activateListeners(html);
|
||
|
}
|
||
|
}
|