diff --git a/appinfo/info.xml b/appinfo/info.xml
index 9eed5e4f49612c52721158e37b292fcae09d84a9..5eb13a598676024c69992894a94d1df3ffb0756d 100644
--- a/appinfo/info.xml
+++ b/appinfo/info.xml
@@ -5,7 +5,7 @@
Murena Dashboard
Murena Dashboard
- 3.0.1
+ 3.0.2
agpl
Murena
MurenaDashboard
diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php
index 42818473af5ffce9ac057b0d8155b93bb2eff925..ecd11064d584c02425613430ac6594c9a73cacd3 100755
--- a/lib/Controller/PageController.php
+++ b/lib/Controller/PageController.php
@@ -39,10 +39,12 @@ class PageController extends Controller {
$storageUrl = $this->config->getAppValue('increasestoragebutton', 'link', '');
$entries = $this->appsService->getAppEntries();
$displayName = $this->userSession->getUser()->getDisplayName();
+ $isReferralProgramActive = $this->config->getSystemValue('is_referral_program_active', false);
$this->initialState->provideInitialState('shopReferralProgramUrl', $referralUrl);
$this->initialState->provideInitialState('increaseStorageUrl', $storageUrl);
$this->initialState->provideInitialState('entries', $entries);
$this->initialState->provideInitialState('displayName', $displayName);
+ $this->initialState->provideInitialState('isReferralProgramActive', $isReferralProgramActive);
$documentsBaseDirectory = $this->appsService->getDocumentsFolder();
$this->initialState->provideInitialState('documentsBaseDirectory', $documentsBaseDirectory);
diff --git a/src/components/StorageLayout.vue b/src/components/StorageLayout.vue
index 3664154fb962dd13b0276f57c505839790446a97..a539a23eebfe927fcf8777fdab1d178bfe6d41a6 100755
--- a/src/components/StorageLayout.vue
+++ b/src/components/StorageLayout.vue
@@ -45,7 +45,7 @@
-
+
@@ -79,6 +79,7 @@ export default {
return {
storageInfo: [],
storageFetchStatus: false,
+ isReferralProgramActive: loadState('murena-dashboard', 'isReferralProgramActive'),
shopReferralProgramUrl: loadState('murena-dashboard', 'shopReferralProgramUrl'),
increaseStorageUrl: loadState('murena-dashboard', 'increaseStorageUrl'),
appName: 'murena-dashboard',