fix: call to /null from background image #714

Merged
konrad merged 1 commits from dpschen/frontend:feature/prevent-call-to-null-for-background-url into main 2021-09-08 16:28:27 +00:00
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
</a>
<div
:class="{'has-background': background}"
:style="{'background-image': `url(${background})`}"
:style="{'background-image': background && `url(${background})`}"
class="app-container"
>
<navigation/>
@ -62,7 +62,7 @@ export default {
return state.namespaces.namespaces.filter(n => !n.isArchived)
},
currentList: CURRENT_LIST,
background: 'background', // FIXME: Return the full thing or nothing at all to prevent calls to /null
background: 'background',
menuActive: MENU_ACTIVE,
userInfo: state => state.auth.info,
authenticated: state => state.auth.authenticated,