aboutsummaryrefslogtreecommitdiff
path: root/src/App.vue
diff options
context:
space:
mode:
authorHJ <30-hj@users.noreply.git.pleroma.social>2020-06-06 21:24:47 +0000
committerHJ <30-hj@users.noreply.git.pleroma.social>2020-06-06 21:24:47 +0000
commita5de8db579f6c50c1bbe5659e82bc29eaa588e7f (patch)
tree9ab84c6012e3cb68484514920817862b91f1c25d /src/App.vue
parente47d0f210317c6e04e15fb89eb8f1d469137b779 (diff)
parent68482fd3a6870514c7e8bd0fe433f24711e97ce9 (diff)
Merge branch 'settings-modal' into 'develop'
Settings modal See merge request pleroma/pleroma-fe!1118
Diffstat (limited to 'src/App.vue')
-rw-r--r--src/App.vue8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/App.vue b/src/App.vue
index 7018a5a4..7b9ad3dc 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -46,15 +46,16 @@
@toggled="onSearchBarToggled"
@click.stop.native
/>
- <router-link
+ <a
+ href="#"
class="mobile-hidden"
- :to="{ name: 'settings'}"
+ @click.stop="openSettingsModal"
>
<i
class="button-icon icon-cog nav-icon"
:title="$t('nav.preferences')"
/>
- </router-link>
+ </a>
<a
v-if="currentUser && currentUser.role === 'admin'"
href="/pleroma/admin/#/login-pleroma"
@@ -125,6 +126,7 @@
<MobilePostStatusButton />
<UserReportingModal />
<PostStatusModal />
+ <SettingsModal />
<portal-target name="modal" />
</div>
</template>