fix: call to /null from background image (#714)
continuous-integration/drone/push Build is failing Details

Co-authored-by: Dominik Pschenitschni <mail@celement.de>
Reviewed-on: #714
Co-authored-by: dpschen <dpschen@noreply.kolaente.de>
Co-committed-by: dpschen <dpschen@noreply.kolaente.de>
This commit is contained in:
dpschen 2021-09-08 16:28:26 +00:00 committed by konrad
parent 4fc8858c64
commit c9631c1e71
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,