This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user