codex: Switch delete archive permission button with Fui
This commit is contained in:
@@ -5,6 +5,7 @@ module GroupArchive =
|
||||
open Fable.Core
|
||||
open Feliz
|
||||
open Feliz.Router
|
||||
open FS.FluentUI
|
||||
|
||||
let private postPermissions (group: string) (archiveId: System.Guid) (permissions: Remoting.ArchiveRelation array) =
|
||||
promise {
|
||||
@@ -36,7 +37,10 @@ module GroupArchive =
|
||||
console.error ("[Group] Error deleting tuple: %s\n%o", err, tuple)
|
||||
)
|
||||
|
||||
Html.button [ prop.onClick handleDelete; prop.text "Delete" ]
|
||||
Fui.button [
|
||||
button.onClick handleDelete
|
||||
button.icon (Fui.icon.deleteRegular [])
|
||||
]
|
||||
|
||||
[<ReactComponent>]
|
||||
let private ViewTerm
|
||||
|
||||
Reference in New Issue
Block a user