This commit is contained in:
@@ -39,6 +39,9 @@
|
||||
</v-card>
|
||||
</v-dialog>
|
||||
</v-col>
|
||||
<v-col cols="12" v-if="!hasItems()">
|
||||
<v-btn outlined @click.native="showSelector = true">{{ $ay.t("Add") }}</v-btn>
|
||||
</v-col>
|
||||
<v-col
|
||||
v-for="(item, i) in effectiveView"
|
||||
:key="i"
|
||||
@@ -48,21 +51,6 @@
|
||||
lg="4"
|
||||
xl="3"
|
||||
>
|
||||
<!-- <gz-dash
|
||||
:title="item.title"
|
||||
:id="item.id"
|
||||
:showCount="true"
|
||||
:count="0"
|
||||
moreUrl="/home-dashboard"
|
||||
icon="$ayiRobot"
|
||||
:updateFrequency="30000"
|
||||
v-on:dash-remove="dashRemove"
|
||||
v-on:dash-move-start="dashMoveStart"
|
||||
v-on:dash-move-back="dashMoveBack"
|
||||
v-on:dash-move-forward="dashMoveForward"
|
||||
v-on:dash-move-end="dashMoveEnd"
|
||||
/> -->
|
||||
|
||||
<component
|
||||
:is="item.type"
|
||||
v-bind="item"
|
||||
@@ -128,6 +116,9 @@ export default {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
hasItems: function() {
|
||||
return this.effectiveView && this.effectiveView.length > 0;
|
||||
},
|
||||
dashMoveStart: function(id) {
|
||||
this.move("start", id);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user