This commit is contained in:
@@ -130,9 +130,9 @@
|
||||
|
||||
<script>
|
||||
/* xeslint-disable */
|
||||
function clickHandler(key) {
|
||||
if (!key.startsWith("app:")) {
|
||||
alert("inventory-widget-edit.vue::context click: " + key);
|
||||
function clickHandler(item) {
|
||||
if (!item.disabled && !item.key.startsWith("app:")) {
|
||||
alert("inventory-widget-edit.vue::context click: " + item.key);
|
||||
}
|
||||
}
|
||||
export default {
|
||||
@@ -186,7 +186,13 @@ export default {
|
||||
icon: "clone",
|
||||
key: "duplicate"
|
||||
},
|
||||
{ title: this.$gzlocale.get("Save"), icon: "save", key: "save" },
|
||||
{
|
||||
title: this.$gzlocale.get("Save"),
|
||||
icon: "save",
|
||||
color: "error",
|
||||
disabled: true,
|
||||
key: "save"
|
||||
},
|
||||
{
|
||||
title: this.$gzlocale.get("Delete"),
|
||||
icon: "trash-alt",
|
||||
|
||||
Reference in New Issue
Block a user