|
|
@@ -30,7 +30,9 @@ export default function TopBar(props: TopBarProps) {
|
|
|
};
|
|
|
|
|
|
const showShare = () => {
|
|
|
- shareData["shared"] = shareData["submittedShared"] || props.shared;
|
|
|
+ shareData["shared"] = shareData["submittedShared"] !== undefined
|
|
|
+ ? shareData["submittedShared"]
|
|
|
+ : props.shared;
|
|
|
window.$modal?.show(
|
|
|
"Share options",
|
|
|
<div style="display: flex; align-items: center">
|