Use $root var for appSettings because vue.prototype vars are not reactive

This commit is contained in:
Bubka
2020-03-23 17:25:53 +01:00
parent 1368f2eba0
commit 0baf57b2a2
5 changed files with 11 additions and 10 deletions

View File

@ -1,6 +1,6 @@
<template>
<div>
<div v-if="$appSettings.isDemoApp" class="demo has-background-warning has-text-centered is-size-7-mobile">
<div v-if="$root.appSettings.isDemoApp" class="demo has-background-warning has-text-centered is-size-7-mobile">
{{ $t('commons.demo_do_not_post_sensitive_data') }}
</div>
<main class="main-section">