mirror of
https://github.com/docmost/docmost.git
synced 2026-06-11 02:36:56 +08:00
feat(editor): fixed toolbar preference (#2185)
* feat(editor): fixed toolbar preference * remove key * cleanup translation strings * update axios
This commit is contained in:
@@ -61,6 +61,14 @@ export class UserService {
|
||||
);
|
||||
}
|
||||
|
||||
if (typeof updateUserDto.editorToolbar !== 'undefined') {
|
||||
return this.userRepo.updatePreference(
|
||||
userId,
|
||||
'editorToolbar',
|
||||
updateUserDto.editorToolbar,
|
||||
);
|
||||
}
|
||||
|
||||
const notificationSettings: Record<string, NotificationSettingKey> = {
|
||||
notificationPageUpdates: 'page.updated',
|
||||
notificationPageUserMention: 'page.userMention',
|
||||
|
||||
Reference in New Issue
Block a user