|
|
@@ -44,7 +44,7 @@ module.exports =
|
|
|
if settings
|
|
|
@brandSettings = { ...@brandSettings, ...settings }
|
|
|
.catch (error) =>
|
|
|
- console.log 'Настройки бренда не найдены'
|
|
|
+ debug.log 'Настройки бренда не найдены'
|
|
|
|
|
|
onLogoUpload: (event) ->
|
|
|
file = event.target.files[0]
|
|
|
@@ -100,7 +100,7 @@ module.exports =
|
|
|
@showNotification 'Ошибка сохранения настроек бренда', 'error'
|
|
|
|
|
|
showNotification: (message, type = 'success') ->
|
|
|
- @$root.showNotification?(message, type) || console.log("#{type}: #{message}")
|
|
|
+ @$root.showNotification?(message, type) || debug.log("#{type}: #{message}")
|
|
|
|
|
|
mounted: ->
|
|
|
@loadBrandSettings()
|