Added select button toggle for trash library grid
Template tests / tests (push) Successful in 2m0s

This commit is contained in:
Iisyourdad
2026-06-11 11:31:58 -05:00
parent 7e979cb2de
commit 33c421b746
4 changed files with 94 additions and 16 deletions
+6
View File
@@ -134,6 +134,12 @@ class GuideStore {
}
}
purgeTrashItems(names) {
for (const name of names) {
fs.rmSync(path.join(this.trashDir, path.basename(name)), { recursive: true, force: true });
}
}
duplicateGuide(guideId, { title } = {}) {
const src = this.getGuide(guideId);
const steps = this.listSteps(guideId);