-
-
diff --git a/modules/zone/front/descriptor/index.js b/modules/zone/front/descriptor/index.js
index 5e365e0ac..08ada0606 100644
--- a/modules/zone/front/descriptor/index.js
+++ b/modules/zone/front/descriptor/index.js
@@ -10,6 +10,22 @@ class Controller extends Descriptor {
this.entity = value;
}
+ loadData() {
+ const filter = {
+ include: [
+ {
+ relation: 'agencyMode',
+ scope: {
+ fields: ['name'],
+ }
+ }
+ ]
+ };
+
+ return this.getData(`Zones/${this.id}`, {filter})
+ .then(res => this.entity = res.data);
+ }
+
onDelete() {
const $t = this.$translate.instant;
const today = new Date();
diff --git a/modules/zone/front/index.js b/modules/zone/front/index.js
index 76a6fdd9b..26c491709 100644
--- a/modules/zone/front/index.js
+++ b/modules/zone/front/index.js
@@ -6,6 +6,7 @@ import './delivery-days';
import './summary';
import './card';
import './descriptor';
+import './descriptor-popover';
import './search-panel';
import './create';
import './basic-data';