Skip to content

Commit 00d39b6

Browse files
committed
Allow editing and deletion of all user-created checkpoints, removing the restriction based on the default title "Created by user"
1 parent 35dbc8d commit 00d39b6

1 file changed

Lines changed: 8 additions & 12 deletions

File tree

‎packages/vscode/src/commands/checkpoints-command/checkpoints-command.ts‎

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -150,18 +150,14 @@ export const checkpoints_command = (
150150
),
151151
tooltip: c.starred ? 'Unstar' : 'Star'
152152
},
153-
...(c.title == 'Created by user'
154-
? [
155-
{
156-
iconPath: new vscode.ThemeIcon('edit'),
157-
tooltip: 'Edit Description'
158-
},
159-
{
160-
iconPath: new vscode.ThemeIcon('trash'),
161-
tooltip: 'Delete'
162-
}
163-
]
164-
: [])
153+
{
154+
iconPath: new vscode.ThemeIcon('edit'),
155+
tooltip: 'Edit Description'
156+
},
157+
{
158+
iconPath: new vscode.ThemeIcon('trash'),
159+
tooltip: 'Delete'
160+
}
165161
]
166162
}
167163
})

0 commit comments

Comments
 (0)