Skip to content

Commit 1e6fae7

Browse files
committed
Add useful comment
Signed-off-by: worksofliam <mrliamallan@live.co.uk>
1 parent f166783 commit 1e6fae7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

webui/main.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1028,8 +1028,8 @@ function createKeywordPanel(id, keywords, onUpdate) {
10281028
const actions = [
10291029
{
10301030
icon: "edit",
1031-
actionId: "rename",
1032-
tooltip: "Rename",
1031+
actionId: "edit",
1032+
tooltip: "Edit",
10331033
},
10341034
{
10351035
icon: "trash",
@@ -1061,6 +1061,7 @@ function createKeywordPanel(id, keywords, onUpdate) {
10611061

10621062
tree.addEventListener('vsc-run-action', (event) => {
10631063
console.log(event.detail);
1064+
// TODO: check event.action for `delete` and `edit`
10641065
// TODO: show UI here and update event.value with changes value
10651066
});
10661067

0 commit comments

Comments
 (0)