浏览代码

Fix uploader not showing up when logged in

Pitu 6 年之前
父节点
当前提交
70301ca368
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>