Sfoglia il codice sorgente

Fix uploader not showing up when logged in

Pitu 6 anni fa
parent
commit
70301ca368
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/site/pages/index.vue

+ 1 - 1
src/site/pages/index.vue

@@ -64,7 +64,7 @@
 						</div>
 					</div>
 					<div class="spacer mt7" />
-					<Uploader v-if="config.publicMode && !loggedIn" />
+					<Uploader v-if="(config.publicMode) || (!config.publicMode && loggedIn)" />
 					<div v-else>
 						This site has disabled public uploads. You need an account.
 					</div>