Clear actions modal on save
This commit is contained in:
@@ -41,6 +41,12 @@ function NewActionModal(props: Props) {
|
||||
|
||||
function save() {
|
||||
onOk(actionUrl, actionTitle, actionDescription, actionIcon, actionColor, openExternally);
|
||||
setActionUrl('')
|
||||
setActionTitle('')
|
||||
setActionDescription('')
|
||||
setActionIcon('')
|
||||
setActionColor('')
|
||||
setOpenExternally(false)
|
||||
}
|
||||
|
||||
function canSave(): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user