Skip to content

Commit

Permalink
fix: use acl diff editor and make discard button work
Browse files Browse the repository at this point in the history
  • Loading branch information
tale committed Jul 7, 2024
1 parent 7804d83 commit fd73832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/routes/_data.acls._index/route.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default function Page() {
</TabPanel>
<TabPanel id="diff">
<Monaco
variant="editor"
variant="diff"
language={data.aclType}
value={acl}
onChange={setAcl}
Expand Down Expand Up @@ -197,7 +197,7 @@ export default function Page() {
)}
Save
</Button>
<Button>
<Button onPress={() => { setAcl(data.currentAcl) }}>
Discard Changes
</Button>
</div>
Expand Down

0 comments on commit fd73832

Please sign in to comment.