Update cms_models.py

This commit is contained in:
Arvind Tiwari 2018-03-17 13:11:42 +05:30 committed by GitHub
parent 6ae98b525d
commit 944946e59e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class DCLNavbarPluginModel(CMSPlugin):
def get_logo_dark(self):
# 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):
# used only if atleast one logo exists