Skip to content

Commit

Permalink
feat: implement bbmri negotiator
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickskowronekdkfz committed Oct 29, 2024
1 parent a153a3c commit b17202e
Show file tree
Hide file tree
Showing 3 changed files with 223 additions and 242 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,14 @@
import { negotiate, negotiateStore } from "../../stores/negotiate";
export let title: string = "Negotiate with biobanks";
let disabled: boolean = false;
</script>

<button
part={`lens-negotiate-button lens-negotiate-button-${
disabled ? "disabled" : "active"
$negotiateStore.length === 0 ? "disabled" : "active"
}`}
on:click={() => negotiate($negotiateStore)}
{disabled}
disabled={$negotiateStore.length === 0}
>
<div part="lens-negotiate-button-title">
{title}
Expand Down
Loading

0 comments on commit b17202e

Please sign in to comment.