Skip to content

Commit fe008e0

Browse files
committed
refactor: update avatar dialog submission logic to remove hardcoded icon path
1 parent 3f60135 commit fe008e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/tool/component/EditAvatarDialog.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ const onChange = (file: any) => {
101101
102102
function submit() {
103103
if (radioType.value === 'default') {
104-
emit('refresh', '/${window.MaxKB.prefix}/favicon.ico')
104+
emit('refresh', '')
105105
dialogVisible.value = false
106106
} else if (radioType.value === 'custom' && iconFile.value) {
107107
const fd = new FormData()

0 commit comments

Comments
 (0)