Skip to content

Commit e7f965a

Browse files
Hassan AdamHassan Adam
authored andcommitted
fix: operation response message
1 parent 1f84999 commit e7f965a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ type UIDescription = {
2626
}
2727

2828
type OperationResult = {
29-
ToastMassge?: string
29+
ToastMessage?: string
3030
}
3131

3232
const useStyles = makeStyles(() =>
@@ -99,9 +99,9 @@ export function OperationsDialog(props: OperationsDialogProps) {
9999
body: formJson,
100100
})
101101

102-
const success = result?.ToastMassge || ''
102+
const success = `: ${result?.ToastMessage}` || ''
103103

104-
logger.information({ message: `${localization.success} ${success}` })
104+
logger.information({ message: `${localization.success}${success}` })
105105

106106
closeLastDialog()
107107
} catch (error) {

apps/sensenet/src/localization/default.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ const values = {
689689
title: 'Action Framkework Demo',
690690
submit: 'Upload',
691691
cancel: 'Cancel',
692-
success: 'Succesfull Operation:',
692+
success: 'Succesfull Operation',
693693
},
694694
}
695695

0 commit comments

Comments
 (0)