Require connected account for adding reimbursement

Just in the UI, so nothing gets reloaded by accident later
This commit is contained in:
2024-03-20 18:18:10 +01:00
parent 39e01e4558
commit 69ab4913aa
2 changed files with 26 additions and 2 deletions
+10 -2
View File
@@ -17,7 +17,11 @@
<header class="with-nav">
<h2>Proposed Reimbursements</h2>
<nav>
<LinkTo @route="reimbursements.new" @title="Submit a reimbursement" class="button small green">add</LinkTo>
<button title="Submit a reimbursement"
class="button small green"
{{on "click" this.addReimbursement}}>
add
</button>
</nav>
</header>
<div class="content">
@@ -31,7 +35,11 @@
<header class="with-nav">
<h2>Confirmed Reimbursements</h2>
<nav>
<LinkTo @route="reimbursements.new" @title="Submit a reimbursement" class="button small green">add</LinkTo>
<button title="Submit a reimbursement"
class="button small green"
{{on "click" this.addReimbursement}}>
add
</button>
</nav>
</header>
<div class="content">