4971 add issyncenabled toggle in messaging settings (#4995)
- Closes #4971 - Fix calendar import to take isSyncEnabled into account
This commit is contained in:
@ -4,6 +4,6 @@ export type MessageChannel = {
|
||||
id: string;
|
||||
handle: string;
|
||||
isContactAutoCreationEnabled?: boolean;
|
||||
isSynced?: boolean;
|
||||
isSyncEnabled: boolean;
|
||||
visibility: InboxSettingsVisibilityValue;
|
||||
};
|
||||
|
||||
@ -57,7 +57,9 @@ export const SettingsAccountsMessageChannelsListCard = () => {
|
||||
...messageChannel,
|
||||
syncStatus: messageChannel.connectedAccount?.authFailedAt
|
||||
? 'failed'
|
||||
: 'synced',
|
||||
: messageChannel.isSyncEnabled
|
||||
? 'synced'
|
||||
: 'notSynced',
|
||||
}),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user