Skip to content

Commit 9dd71bf

Browse files
Wrap miniGrid map in widget (#643)
1 parent 75bb1d7 commit 9dd71bf

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/frontend/src/modules/MiniGrid/Dashboard.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,15 +124,15 @@
124124
</div>
125125
</div>
126126
<div class="md-layout-item md-size-100 map-area">
127-
<widget :title="$tc('phrases.miniGridMap')" id="miniGrid-map">
127+
<Widget :title="$tc('phrases.miniGridMap')" id="miniGrid-map">
128128
<mini-grid-map
129129
ref="miniGridMapRef"
130130
:mapping-service="mappingService"
131131
:edit="true"
132132
:miniGridId="miniGridId"
133133
@locationEdited="deviceLocationsEditedSet"
134134
/>
135-
</widget>
135+
</Widget>
136136
</div>
137137
<!--
138138
<div class="md-layout-item md-size-100">
@@ -247,6 +247,7 @@ import i18n from "@/i18n"
247247
import { ICONS, MappingService } from "@/services/MappingService"
248248
import { DeviceAddressService } from "@/services/DeviceAddressService"
249249
import moment from "moment"
250+
import Widget from "../../shared/widget"
250251
251252
export default {
252253
name: "Dashboard",
@@ -257,6 +258,7 @@ export default {
257258
BoxGroup,
258259
TicketsOverview,
259260
RevenuePerCustomerType,
261+
Widget,
260262
},
261263
mixins: [currency, notify],
262264
data() {

0 commit comments

Comments
 (0)