Browse Source

strict equality

Bamieh 8 years ago
parent
commit
782e13f602
1 changed files with 1 additions and 1 deletions
  1. 1 1
      server/views/pages/view.pug

+ 1 - 1
server/views/pages/view.pug

@@ -15,7 +15,7 @@ block rootNavRight
       a.button.is-outlined(v-on:click='$store.dispatch("modalMovePage/open")')
         i.nc-icon-outline.arrows-1_shuffle-98
         span= t('nav.move')
-    if appconfig.theme.viewSource == "all" || rights.write && appconfig.theme.viewSource == "write"
+    if appconfig.theme.viewSource === "all" || rights.write && appconfig.theme.viewSource === "write"
       a.button.is-outlined(href='/source/' + pageData.meta.path)
         i.nc-icon-outline.education_paper
         span= t('nav.source')