Spaces:
Running
Running
chore
Browse files
src/lib/ShareWithCommunity.svelte
CHANGED
|
@@ -8,6 +8,9 @@
|
|
| 8 |
|
| 9 |
const dispatch = createEventDispatcher();
|
| 10 |
function handleClick(){
|
|
|
|
|
|
|
|
|
|
| 11 |
dispatch('createCommunityPost');
|
| 12 |
}
|
| 13 |
</script>
|
|
|
|
| 8 |
|
| 9 |
const dispatch = createEventDispatcher();
|
| 10 |
function handleClick(){
|
| 11 |
+
if(isUploading){
|
| 12 |
+
return;
|
| 13 |
+
}
|
| 14 |
dispatch('createCommunityPost');
|
| 15 |
}
|
| 16 |
</script>
|