mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-02 20:18:08 +00:00
feat: Save UI state in the database (#1635)
feat: Save UI state in the database
This commit is contained in:
@@ -25,4 +25,12 @@ describe('#getters', () => {
|
||||
})
|
||||
).toEqual('busy');
|
||||
});
|
||||
|
||||
it('getUISettings', () => {
|
||||
expect(
|
||||
getters.getUISettings({
|
||||
currentUser: { ui_settings: { is_contact_sidebar_open: true } },
|
||||
})
|
||||
).toEqual({ is_contact_sidebar_open: true });
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user