Fix live preview of imports in editor
This commit is contained in:
parent
55e1ed3a2b
commit
55e2ceccaa
2 changed files with 8 additions and 10 deletions
|
@ -189,7 +189,7 @@ class WikiPage(HookMixin):
|
|||
@property
|
||||
def imports(self):
|
||||
"""Names"""
|
||||
meta = self._get_meta(self.data)
|
||||
meta = self._get_meta(self.data) or {}
|
||||
return meta.get('import', [])
|
||||
|
||||
@staticmethod
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue