Skip to content

Node.js based forum software built for the modern web

fix: hide URL profile upload when uploads are disabled (#14547)

Shlomofafced7cfc61
diff --git a/src/views/modals/change-picture.tpl b/src/views/modals/change-picture.tpl
index b24e23863c..7396c65372 100644
--- a/src/views/modals/change-picture.tpl
+++ b/src/views/modals/change-picture.tpl
@@ -30,10 +30,10 @@
<button type="button" class="btn btn-ghost border" data-action="upload">
[[user:upload-new-picture]]
</button>
- {{{ end }}}
<button type="button" class="btn btn-ghost border" data-action="upload-url">
[[user:upload-new-picture-from-url]]
</button>
+ {{{ end }}}
</div>
</div>
-</div>
\ No newline at end of file
+</div>