Remove background support experiment
This commit is contained in:
@@ -191,11 +191,6 @@ onMounted(async () => {
|
||||
window.document.title = result.cloudronName;
|
||||
document.getElementById('favicon').href = `${API_ORIGIN}/api/v1/cloudron/avatar?ts=${Date.now()}`;
|
||||
|
||||
if (profile.value.hasBackgroundImage) {
|
||||
window.document.body.style.backgroundImage = `url('${profile.value.backgroundImageUrl}')`;
|
||||
window.document.body.classList.add('has-background');
|
||||
}
|
||||
|
||||
if (config.value.mandatory2FA && !profile.value.twoFactorAuthenticationEnabled) window.location.hash = `/${VIEWS.PROFILE}?setup2fa`;
|
||||
|
||||
window.addEventListener('hashchange', onHashChange);
|
||||
|
||||
Reference in New Issue
Block a user