finxing alert box

This commit is contained in:
sanjayk03-dev
2024-01-30 01:33:48 +05:30
parent 31faf3516d
commit 934cf6e92e
2 changed files with 3 additions and 3 deletions

View File

@@ -244,7 +244,7 @@ module.exports = {
clearMacros: async function () {
if (this.tab == 0) {
document.getElementById("macros-name").value = "";
document.getElementById("macros-color").value = "";
document.getElementById("macros-color").value = "#fff";
this.fileName = "default";
this.newGcode = "";
} else {

View File

@@ -52,8 +52,8 @@ script#macros-template(type="text/x-template")
button.pure-button.button-submit(@click="sameName = false") OK
message(:show.sync="addMacros")
div(slot="body")
p Do you need to add another macros?
h3(slot="header") Do you need to add another macros?
p(slot="body")
div(slot="footer")
button.pure-button(@click="addMacros = false") Cancel
button.pure-button.button-submit(@click="addNewMacros") Add