Update channel.

This commit is contained in:
retoor 2025-06-11 17:27:43 +02:00
parent 3ea4918ca2
commit ad3f46a9ae
2 changed files with 14 additions and 10 deletions
src/snek

View File

@ -26,6 +26,7 @@ class FileUploadGrid extends NjetComponent {
}
}
})
dialog.open();
return false
}

View File

@ -1,18 +1,21 @@
<script type="module">
import { NjetDialog } from "./njet.js"
import { njet } from "/njet.js"
function deleteChannel(channelUid){
const dialog = new NjetDialog({
title: "Delete channel?",
buttons: [{
text: "No"
},{
text: "Yes"
}]
const dialog = new njet.showDialog({
title: 'Upload in progress',
content: 'Please wait for the current upload to complete.',
primaryButton: {
text: 'OK',
handler: function () {
dialog.remove();
}
}
})
}
</script>