Fix enabling watermark not always loading the defaults.
This commit is contained in:
parent
a29c1ce8dc
commit
027e9faaa8
@ -88,7 +88,10 @@ module.exports = function ($timeout, $location, dizquetv, resolutionOptions) {
|
||||
} else {
|
||||
scope.beforeEditChannelNumber = scope.channel.number
|
||||
|
||||
if (typeof(scope.channel.watermark) === 'undefined') {
|
||||
if (
|
||||
(typeof(scope.channel.watermark) === 'undefined')
|
||||
|| (scope.channel.watermark.enabled !== true)
|
||||
) {
|
||||
scope.channel.watermark = defaultWatermark();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user