This commit is contained in:
2019-03-07 00:51:11 +00:00
parent a852a75d99
commit f7b4cb750a
2 changed files with 9 additions and 12 deletions

View File

@@ -20,7 +20,7 @@
<v-icon>fa-ellipsis-v</v-icon>
</v-btn>
</v-toolbar>
<WidgetEdit :dialogdata="dialogdata" v-on:dialogclose="dialogdata.showeditdialog=false"/>
<v-data-table
v-model="selected"
:headers="headers"
@@ -52,10 +52,7 @@
<script>
/* eslint-disable */
// import localeText from "../api/locale";
// import api from "../api/apiutil";
import WidgetEdit from "../components/inventorywidgetedit";
/* xeslint-disable */
export default {
created() {
var that = this;
@@ -77,16 +74,14 @@ export default {
that.$_.forEach(that.headers, function(header) {
header.text = that.$gzlocale.get(header.text);
});
//this.headers[0].text = this.$gzlocale.get("WidgetName");
})
.then(() => (this.formReady = true))
.catch(err => {
this.formReady = true; //show the form anyway so we know what's what
throw err;
});
},
components: {
WidgetEdit
},
data() {
return {
formReady: false,