Bikeshedding
This commit is contained in:
1 parent
3ae7a3976f
commit
9dbf6cafbd
2 files changed
+2
-2
No files matched your search
@@ -67,7 +67,7 @@ let generalView model dispatch =
|
||||
Fields.checkbox "Is Active" account.isActive [] (IsActive >> Update >> dispatch) ]
|
||||
if not (isNewAccount account) then
|
||||
yield Button.button
|
||||
"Remove Account" "is-warning is-outlined" "times"
|
||||
"Remove Account" "is-danger is-outlined" "times"
|
||||
Enabled
|
||||
(fun _ -> dispatch <| DeleteAccount account)
|
||||
]
|
||||
|
||||
@@ -42,7 +42,7 @@ let generalTabContent (model:Model) (dispatch:Msg->Unit) =
|
||||
Fields.checkbox "Is Active" model.scratchUser.isActive [] (IsActive >> UpdateField >> dispatch)
|
||||
]
|
||||
if model.scratchUser.id <> 0 then
|
||||
yield Button.button "Remove User" "is-warning is-outlined" "times" Button.Enabled (fun _ -> dispatch <| Delete model.scratchUser)
|
||||
yield Button.button "Remove User" "is-danger is-outlined" "times" Button.Enabled (fun _ -> dispatch <| Delete model.scratchUser)
|
||||
]
|
||||
|
||||
let accountNameLookup (accountsList:BTSAccount list) (id:string) =
|
||||
|
||||
Reference in new issue
Block a user