Update cms_models.py
This commit is contained in:
parent
6ae98b525d
commit
944946e59e
1 changed files with 1 additions and 1 deletions
|
@ -135,7 +135,7 @@ class DCLNavbarPluginModel(CMSPlugin):
|
||||||
|
|
||||||
def get_logo_dark(self):
|
def get_logo_dark(self):
|
||||||
# used only if atleast one logo exists
|
# used only if atleast one logo exists
|
||||||
return self.logo_dark.url if self.logo_dark else self.logo_white.url
|
return self.logo_dark.url if self.logo_dark else self.logo_light.url
|
||||||
|
|
||||||
def get_logo_light(self):
|
def get_logo_light(self):
|
||||||
# used only if atleast one logo exists
|
# used only if atleast one logo exists
|
||||||
|
|
Loading…
Reference in a new issue