Explorar o código

Fix uploader not showing up when logged in

Pitu %!s(int64=6) %!d(string=hai) anos
pai
achega
70301ca368
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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>