mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-17 12:43:13 +02:00
fix: only show not signed in warning if not signed in
This commit is contained in:
@@ -99,7 +99,9 @@ const Upload = () => {
|
||||
<Button
|
||||
loading={isUploading}
|
||||
disabled={files.length <= 0}
|
||||
onClick={() => showCreateUploadModal(modals, uploadFiles)}
|
||||
onClick={() =>
|
||||
showCreateUploadModal(modals, user ? true : false, uploadFiles)
|
||||
}
|
||||
>
|
||||
Share
|
||||
</Button>
|
||||
|
||||
Reference in New Issue
Block a user