diff options
author | Corentin Noël <corentin@elementary.io> | 2020-04-11 17:25:49 +0200 |
---|---|---|
committer | Corentin Noël <corentin@elementary.io> | 2020-04-11 17:29:57 +0200 |
commit | ff99395ae2e72a067e728658fc0e585ef963e1d6 (patch) | |
tree | 0e734fa823277e5d493776d20e4def3b344cc30d /src | |
parent | 6b95266e963d3bbcd53546198419dd4f1c852b0e (diff) |
Replace oc_config with OC.config
Signed-off-by: Corentin Noël <corentin@elementary.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/main.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main.js b/src/main.js index 0328d5f6..c752e160 100644 --- a/src/main.js +++ b/src/main.js @@ -57,14 +57,12 @@ Vue.prototype.t = t Vue.prototype.n = n // eslint-disable-next-line Vue.prototype.appVersion = appVersion -// eslint-disable-next-line -Vue.prototype.oc_config = oc_config Vue.prototype.OC = OC Vue.prototype.OCA = OCA // Force redirect if rewrite enabled but accessed through index.php if (window.location.pathname.split('/')[1] === 'index.php' - && oc_config.modRewriteWorking) { + && OC.config.modRewriteWorking) { router.push({ name: 'group', params: { selectedGroup: t('contacts', 'All contacts') }, |