Skip to content

Commit ed45406

Browse files
committed
fix after review
1 parent ac570c9 commit ed45406

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/DGAttribution/src/DGAttribution.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ DG.Control.Attribution.include({
112112
this._first = true;
113113
}
114114
// TODO у нас на бекенде сейчас пустой ключ и пока мы его не добавили будет браться ключ по дефолту из конфигов, как только мы его туда положим копирайт об ошибке пропадёт потом можно убрать без последствий
115-
this._freeKey = 'c5e4d7ec-f9d0-470f-b7f0-278f622f20e2';
116-
this._key = map.options.key || DG.config.key !== this._freeKey;
115+
this._defaultKey = 'c5e4d7ec-f9d0-470f-b7f0-278f622f20e2';
116+
this._key = map.options.key || DG.config.key !== this._defaultKey;
117117
this._logotype = map.options.logotype;
118118
this._open2gis = this._getLink('open_link')
119119

src/DGCustomization/src/DGMap.BaseLayer.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ DG.Map.addInitHook(function() {
2727

2828
if (mapContainer) {
2929
mapContainer.appendChild(errorMessage);
30-
} else {
31-
console.warn('Map container with id "map" not found.');
3230
}
3331

3432
this.isErrorWasShown = true;

0 commit comments

Comments
 (0)