Corrections CSS sur fiche archetype et système
All checks were successful
Release Creation / build (release) Successful in 50s
All checks were successful
Release Creation / build (release) Successful in 50s
This commit is contained in:
@@ -29,7 +29,8 @@ export default class MaleficesArchetypeSheet extends MaleficesItemSheet {
|
||||
async _prepareContext() {
|
||||
const context = await super._prepareContext()
|
||||
context.tabs = this.#getTabs()
|
||||
context.tarots = MaleficesUtility.getTarots()
|
||||
const tarots = MaleficesUtility.getTarots() ?? []
|
||||
context.tarots = Object.fromEntries(tarots.map(t => [t._id, t.name]))
|
||||
return context
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user