feat: Generate SSO URL in Chatwoot, move Captain to primary tab (#9871)

- Generate SSO URL in Chatwoot, move Captain to the primary tab

Co-authored-by: Pranav <pranavrajs@gmail.com>
This commit is contained in:
Sojan Jose
2024-08-01 19:22:34 -07:00
committed by GitHub
parent 17a6df10a0
commit 829bb842fd
16 changed files with 237 additions and 12 deletions

View File

@@ -24,12 +24,14 @@ export const getters = {
getAppIntegrations($state) {
return $state.records;
},
getIntegration: $state => integrationId => {
const [integration] = $state.records.filter(
record => record.id === integrationId
);
return integration || {};
},
getIntegration:
$state =>
(integrationId, defaultValue = {}) => {
const [integration] = $state.records.filter(
record => record.id === integrationId
);
return integration || defaultValue;
},
getUIFlags($state) {
return $state.uiFlags;
},