Restore named project snapshots
This commit is contained in:
parent
7c670fece3
commit
384a5769ab
25 changed files with 1315 additions and 206 deletions
|
|
@ -14,7 +14,7 @@ export function applyProjectHistoryTransition(
|
|||
database: AppDatabase,
|
||||
input: ApplyProjectHistoryTransitionInput
|
||||
) {
|
||||
if (input.source === "user") {
|
||||
if (input.source === "user" || input.source === "restore") {
|
||||
database
|
||||
.delete(projectHistoryStackEntries)
|
||||
.where(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue