Skip to content

Commit

Permalink
only hide spell for npc only
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Sep 5, 2024
1 parent b6d420f commit 3f2089b
Showing 1 changed file with 3 additions and 18 deletions.
21 changes: 3 additions & 18 deletions src/app/tabs/stems/stems-editor/stems-editor.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,9 @@ export class StemsEditorComponent
() => !this.editing()._isNPCOnly && this.editing()._hasSpell
),
},
{
name: '[T]rait',
visibleIf: computed(
() => !this.editing()._isNPCOnly && this.editing()._hasTrait
),
},
{
name: '[E]ffect',
visibleIf: computed(
() => !this.editing()._isNPCOnly && this.editing()._hasEffect
),
},
{
name: '[M]acro',
visibleIf: computed(
() => !this.editing()._isNPCOnly && this.editing()._hasMacro
),
},
{ name: '[T]rait', visibleIf: computed(() => this.editing()._hasTrait) },
{ name: '[E]ffect', visibleIf: computed(() => this.editing()._hasEffect) },
{ name: '[M]acro', visibleIf: computed(() => this.editing()._hasMacro) },
];

public readonly effectUniqueTabs = [
Expand Down

0 comments on commit 3f2089b

Please sign in to comment.