Skip to content

Commit

Permalink
closes #56
Browse files Browse the repository at this point in the history
  • Loading branch information
seiyria committed Aug 19, 2024
1 parent ff2d93e commit 766cd5f
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 21 deletions.
6 changes: 0 additions & 6 deletions app/handlers/resources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ export async function updateResources(sendToUI: SendToUI) {
'challenge',
'effect-data',
'holidaydescs',
'items',
'npc-scripts',
'npcs',
'quests',
'recipes',
'spawners',
'spells',
'traits',
'trait-trees',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ export class InputEffectComponent {
});

constructor() {
this.electronService.requestJSON('effect-data');

effect(
() => {
this.modService.json();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ export class InputHolidayComponent {
}));
});

constructor() {
this.electronService.requestJSON('holidaydescs');
}

public search(term: string, item: { value: string }) {
return item.value.toLowerCase().includes(term.toLowerCase());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,6 @@ export class InputSpellComponent {
return Object.keys(spellObj ?? {}).sort();
});

constructor() {
this.electronService.requestJSON('spells');
}

public search(term: string, item: { value: string }) {
return item.value.toLowerCase().includes(term.toLowerCase());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,4 @@ export class InputTraitComponent {
.sort()
.map((t) => ({ value: t, desc: traitObj[t].desc ?? 'No description' }));
});

constructor() {
this.electronService.requestJSON('traits');
}
}
1 change: 0 additions & 1 deletion src/app/tabs/npcs/npcs-editor/npcs-editor.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ export class NpcsEditorComponent

constructor() {
super();
this.electronService.requestJSON('challenge');

effect(() => {
const data = this.challengeData();
Expand Down

0 comments on commit 766cd5f

Please sign in to comment.