(directory: string)
| 87 | ) |
| 88 | }, |
| 89 | expand(directory: string) { |
| 90 | const index = current().findIndex((project) => project.worktree === directory) |
| 91 | if (index !== -1) setStore("projects", input.scope(), index, "expanded", true) |
| 92 | }, |
| 93 | collapse(directory: string) { |
| 94 | const index = current().findIndex((project) => project.worktree === directory) |
| 95 | if (index !== -1) setStore("projects", input.scope(), index, "expanded", false) |