Skip to content

Commit

Permalink
fix: removes logs
Browse files Browse the repository at this point in the history
  • Loading branch information
valentine195 committed May 3, 2023
1 parent 4a5d820 commit ca9b95f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/builder/stores/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,9 @@ export class TableHeader {
}

public sortAsc(a: SRDMonster, b: SRDMonster) {
console.log(this._func(a, b));
return this._func(a, b);
}
public sortDesc(a: SRDMonster, b: SRDMonster) {
console.log(this._func(b, a));
return this._func(b, a);
}

Expand Down Expand Up @@ -194,7 +192,6 @@ export class SettingsModal extends Modal {
}
});
app.$on("update", (evt) => {
console.log("🚀 ~ file: table.ts:169 ~ evt:", evt);
this.headers = copy(evt.detail);
});
app.$on("cancel", () => {
Expand Down
1 change: 0 additions & 1 deletion src/builder/stores/table/Headers.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,6 @@
(state.type != SortFunctions.CUSTOM ||
state?.func?.length)
) {
console.log(items.findIndex((i) => i.id == id));
items.splice(
items.findIndex((i) => i.id == id),
1,
Expand Down
1 change: 0 additions & 1 deletion src/builder/view/creatures/Creatures.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
} else {
const search = prepareSimpleSearch(n);
const results: SRDMonster[] = [];
console.log("🚀 ~ file: Creatures.svelte:40 ~ original:", original);
for (const monster of original) {
if (search(monster.name)) {
results.push(monster);
Expand Down

0 comments on commit ca9b95f

Please sign in to comment.