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 f66d47e commit f9f25c5
Show file tree
Hide file tree
Showing 3 changed files with 255 additions and 234 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 f9f25c5

Please sign in to comment.