import { CDEBaseActorSheet } from "./base.js" import { CDELoksyuApp } from "../../apps/loksyu-app.js" export class CDELoksyuSheet extends CDEBaseActorSheet { static DEFAULT_OPTIONS = { classes: ["loksyu"], } static PARTS = { main: { template: "systems/fvtt-chroniques-de-l-etrange/templates/actor/cde-loksyu-sheet.html" }, } tabGroups = { primary: "loksyu" } /** Redirect any direct actor-sheet open to the standalone app instead */ async _onFirstRender(context, options) { // Close this actor sheet immediately and open the standalone app await this.close({ animate: false }) CDELoksyuApp.open() } }