Skip to content

Commit c5be90e

Browse files
fix: Setting avatar save prompt error(#2523)
1 parent 518202a commit c5be90e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/src/views/application-overview/component/EditAvatarDialog.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,15 +121,15 @@ function submit() {
121121
if (radioType.value === 'default') {
122122
application.asyncPutApplication(id as string, { icon: defaultIcon }, loading).then((res) => {
123123
emit('refresh')
124-
MsgSuccess(t('views.applicationOverview.appInfo.EditAvatarDialog.setSuccess'))
124+
MsgSuccess(t('common.saveSuccess'))
125125
dialogVisible.value = false
126126
})
127127
} else if (radioType.value === 'custom' && iconFile.value) {
128128
let fd = new FormData()
129129
fd.append('file', iconFile.value.raw)
130130
overviewApi.putAppIcon(id as string, fd, loading).then((res: any) => {
131131
emit('refresh')
132-
MsgSuccess(t('views.applicationOverview.appInfo.EditAvatarDialog.setSuccess'))
132+
MsgSuccess(t('common.saveSuccess'))
133133
dialogVisible.value = false
134134
})
135135
} else {

0 commit comments

Comments
 (0)