This commit is contained in:
2019-05-01 22:05:24 +00:00
parent bca2e41a62
commit b87d43b70d
3 changed files with 6 additions and 22 deletions

View File

@@ -40,7 +40,6 @@ export default {
vm.appBar.menuItems.push({
title: vm.$gzlocale.get("Logout"),
icon: "sign-out-alt",
color: "pink",
key: "app:logout"
});

View File

@@ -151,17 +151,6 @@
<br>
</v-flex>
</v-layout>
<!-- <v-layout align-left justify-center row wrap mt-5>
<v-flex xs6 sm4>
<v-btn small @click="remove">{{ this.$gzlocale.get("Delete")}}</v-btn>
</v-flex>
<v-flex xs6 sm4>
<v-btn small @click="stubTestClick">TEST BUTTON</v-btn>
</v-flex>
<v-flex xs6 sm4>
<v-btn small @click="submit">{{ this.$gzlocale.get("Save")}}</v-btn>
</v-flex>
</v-layout>-->
</v-form>
</v-flex>
</v-layout>
@@ -207,9 +196,6 @@ function generateMenu(vm, readOnly) {
menuItems: []
};
//eslint-disable-next-line
console.log(readOnly);
if (readOnly != true) {
menuOptions.menuItems = [
{
@@ -235,8 +221,7 @@ function generateMenu(vm, readOnly) {
}
];
}
//eslint-disable-next-line
console.log(menuOptions);
vm.$gzevent.$emit("menu-change", menuOptions);
}
@@ -308,8 +293,8 @@ export default {
//WATCHERS
watch: {
formState: {
// eslint-disable-next-line
handler: function(val, oldVal) {
handler: function(val) {
//,oldval is available here too if necessary
if (this.formState.loading) {
return;
}