mirror of
https://github.com/tale/headplane.git
synced 2026-08-08 13:23:13 +00:00
fix: use acl diff editor and make discard button work
This commit is contained in:
@@ -152,7 +152,7 @@ export default function Page() {
|
||||
</TabPanel>
|
||||
<TabPanel id="diff">
|
||||
<Monaco
|
||||
variant="editor"
|
||||
variant="diff"
|
||||
language={data.aclType}
|
||||
value={acl}
|
||||
onChange={setAcl}
|
||||
@@ -197,7 +197,7 @@ export default function Page() {
|
||||
)}
|
||||
Save
|
||||
</Button>
|
||||
<Button>
|
||||
<Button onPress={() => { setAcl(data.currentAcl) }}>
|
||||
Discard Changes
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user