Skip to content

Commit ffaf796

Browse files
Hassan AdamHassan Adam
authored andcommitted
feature: log successfull operation
1 parent 2e3d62b commit ffaf796

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

apps/sensenet/src/components/dialogs/operations.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ export function OperationsDialog(props: OperationsDialogProps) {
9494
body: formJson,
9595
})
9696

97+
logger.information({ message: localization.success })
98+
9799
closeLastDialog()
98100
} catch (error) {
99101
logger.error({ message: error.message })

apps/sensenet/src/localization/default.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -689,6 +689,7 @@ const values = {
689689
title: 'Action Framkework Demo',
690690
submit: 'Upload',
691691
cancel: 'Cancel',
692+
success: 'Succesfull Operation!',
692693
},
693694
}
694695

0 commit comments

Comments
 (0)