fix: load fazer-ai locales and open kanban
Some checks failed
Some checks failed
This commit is contained in:
parent
db9b451eeb
commit
597f93ad80
@ -318,6 +318,13 @@ const menuItems = computed(() => {
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: 'Kanban',
|
||||||
|
label: t('SIDEBAR.KANBAN'),
|
||||||
|
icon: 'i-lucide-columns-3',
|
||||||
|
to: accountScopedRoute('kanban_view'),
|
||||||
|
activeOn: ['kanban_view'],
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: 'Captain',
|
name: 'Captain',
|
||||||
icon: 'i-woot-captain',
|
icon: 'i-woot-captain',
|
||||||
|
|||||||
@ -21,12 +21,15 @@ import datePicker from './datePicker.json';
|
|||||||
import emoji from './emoji.json';
|
import emoji from './emoji.json';
|
||||||
import general from './general.json';
|
import general from './general.json';
|
||||||
import generalSettings from './generalSettings.json';
|
import generalSettings from './generalSettings.json';
|
||||||
|
import groups from './groups.json';
|
||||||
import helpCenter from './helpCenter.json';
|
import helpCenter from './helpCenter.json';
|
||||||
import inbox from './inbox.json';
|
import inbox from './inbox.json';
|
||||||
import inboxMgmt from './inboxMgmt.json';
|
import inboxMgmt from './inboxMgmt.json';
|
||||||
import integrationApps from './integrationApps.json';
|
import integrationApps from './integrationApps.json';
|
||||||
import integrations from './integrations.json';
|
import integrations from './integrations.json';
|
||||||
|
import internalChat from './internalChat.json';
|
||||||
import jasmine from './jasmine.json';
|
import jasmine from './jasmine.json';
|
||||||
|
import kanban from './kanban.json';
|
||||||
import labelsMgmt from './labelsMgmt.json';
|
import labelsMgmt from './labelsMgmt.json';
|
||||||
import login from './login.json';
|
import login from './login.json';
|
||||||
import macros from './macros.json';
|
import macros from './macros.json';
|
||||||
@ -37,7 +40,9 @@ import setNewPassword from './setNewPassword.json';
|
|||||||
import settings from './settings.json';
|
import settings from './settings.json';
|
||||||
import signup from './signup.json';
|
import signup from './signup.json';
|
||||||
import sla from './sla.json';
|
import sla from './sla.json';
|
||||||
|
import snooze from './snooze.json';
|
||||||
import teamsSettings from './teamsSettings.json';
|
import teamsSettings from './teamsSettings.json';
|
||||||
|
import webhooks from './webhooks.json';
|
||||||
import whatsappTemplates from './whatsappTemplates.json';
|
import whatsappTemplates from './whatsappTemplates.json';
|
||||||
import contentTemplates from './contentTemplates.json';
|
import contentTemplates from './contentTemplates.json';
|
||||||
import mfa from './mfa.json';
|
import mfa from './mfa.json';
|
||||||
@ -67,12 +72,15 @@ export default {
|
|||||||
...emoji,
|
...emoji,
|
||||||
...general,
|
...general,
|
||||||
...generalSettings,
|
...generalSettings,
|
||||||
|
...groups,
|
||||||
...helpCenter,
|
...helpCenter,
|
||||||
...inbox,
|
...inbox,
|
||||||
...inboxMgmt,
|
...inboxMgmt,
|
||||||
...integrationApps,
|
...integrationApps,
|
||||||
...integrations,
|
...integrations,
|
||||||
|
...internalChat,
|
||||||
...jasmine,
|
...jasmine,
|
||||||
|
...kanban,
|
||||||
...labelsMgmt,
|
...labelsMgmt,
|
||||||
...login,
|
...login,
|
||||||
...macros,
|
...macros,
|
||||||
@ -83,7 +91,9 @@ export default {
|
|||||||
...settings,
|
...settings,
|
||||||
...signup,
|
...signup,
|
||||||
...sla,
|
...sla,
|
||||||
|
...snooze,
|
||||||
...teamsSettings,
|
...teamsSettings,
|
||||||
|
...webhooks,
|
||||||
...whatsappTemplates,
|
...whatsappTemplates,
|
||||||
...contentTemplates,
|
...contentTemplates,
|
||||||
...mfa,
|
...mfa,
|
||||||
|
|||||||
@ -10,9 +10,11 @@ import campaign from './campaign.json';
|
|||||||
import cannedMgmt from './cannedMgmt.json';
|
import cannedMgmt from './cannedMgmt.json';
|
||||||
import captain from './captain.json';
|
import captain from './captain.json';
|
||||||
import chatlist from './chatlist.json';
|
import chatlist from './chatlist.json';
|
||||||
|
import companies from './companies.json';
|
||||||
import components from './components.json';
|
import components from './components.json';
|
||||||
import contact from './contact.json';
|
import contact from './contact.json';
|
||||||
import contactFilters from './contactFilters.json';
|
import contactFilters from './contactFilters.json';
|
||||||
|
import contentTemplates from './contentTemplates.json';
|
||||||
import conversation from './conversation.json';
|
import conversation from './conversation.json';
|
||||||
import csatMgmt from './csatMgmt.json';
|
import csatMgmt from './csatMgmt.json';
|
||||||
import customRole from './customRole.json';
|
import customRole from './customRole.json';
|
||||||
@ -20,15 +22,19 @@ import datePicker from './datePicker.json';
|
|||||||
import emoji from './emoji.json';
|
import emoji from './emoji.json';
|
||||||
import general from './general.json';
|
import general from './general.json';
|
||||||
import generalSettings from './generalSettings.json';
|
import generalSettings from './generalSettings.json';
|
||||||
|
import groups from './groups.json';
|
||||||
import helpCenter from './helpCenter.json';
|
import helpCenter from './helpCenter.json';
|
||||||
import inbox from './inbox.json';
|
import inbox from './inbox.json';
|
||||||
import inboxMgmt from './inboxMgmt.json';
|
import inboxMgmt from './inboxMgmt.json';
|
||||||
import integrationApps from './integrationApps.json';
|
import integrationApps from './integrationApps.json';
|
||||||
import integrations from './integrations.json';
|
import integrations from './integrations.json';
|
||||||
|
import internalChat from './internalChat.json';
|
||||||
import jasmine from './jasmine.json';
|
import jasmine from './jasmine.json';
|
||||||
|
import kanban from './kanban.json';
|
||||||
import labelsMgmt from './labelsMgmt.json';
|
import labelsMgmt from './labelsMgmt.json';
|
||||||
import login from './login.json';
|
import login from './login.json';
|
||||||
import macros from './macros.json';
|
import macros from './macros.json';
|
||||||
|
import mfa from './mfa.json';
|
||||||
import report from './report.json';
|
import report from './report.json';
|
||||||
import resetPassword from './resetPassword.json';
|
import resetPassword from './resetPassword.json';
|
||||||
import search from './search.json';
|
import search from './search.json';
|
||||||
@ -36,8 +42,11 @@ import setNewPassword from './setNewPassword.json';
|
|||||||
import settings from './settings.json';
|
import settings from './settings.json';
|
||||||
import signup from './signup.json';
|
import signup from './signup.json';
|
||||||
import sla from './sla.json';
|
import sla from './sla.json';
|
||||||
|
import snooze from './snooze.json';
|
||||||
import teamsSettings from './teamsSettings.json';
|
import teamsSettings from './teamsSettings.json';
|
||||||
|
import webhooks from './webhooks.json';
|
||||||
import whatsappTemplates from './whatsappTemplates.json';
|
import whatsappTemplates from './whatsappTemplates.json';
|
||||||
|
import yearInReview from './yearInReview.json';
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
...advancedFilters,
|
...advancedFilters,
|
||||||
@ -52,9 +61,11 @@ export default {
|
|||||||
...cannedMgmt,
|
...cannedMgmt,
|
||||||
...captain,
|
...captain,
|
||||||
...chatlist,
|
...chatlist,
|
||||||
|
...companies,
|
||||||
...components,
|
...components,
|
||||||
...contact,
|
...contact,
|
||||||
...contactFilters,
|
...contactFilters,
|
||||||
|
...contentTemplates,
|
||||||
...conversation,
|
...conversation,
|
||||||
...csatMgmt,
|
...csatMgmt,
|
||||||
...customRole,
|
...customRole,
|
||||||
@ -62,15 +73,19 @@ export default {
|
|||||||
...emoji,
|
...emoji,
|
||||||
...general,
|
...general,
|
||||||
...generalSettings,
|
...generalSettings,
|
||||||
|
...groups,
|
||||||
...helpCenter,
|
...helpCenter,
|
||||||
...inbox,
|
...inbox,
|
||||||
...inboxMgmt,
|
...inboxMgmt,
|
||||||
...integrationApps,
|
...integrationApps,
|
||||||
...integrations,
|
...integrations,
|
||||||
|
...internalChat,
|
||||||
...jasmine,
|
...jasmine,
|
||||||
|
...kanban,
|
||||||
...labelsMgmt,
|
...labelsMgmt,
|
||||||
...login,
|
...login,
|
||||||
...macros,
|
...macros,
|
||||||
|
...mfa,
|
||||||
...report,
|
...report,
|
||||||
...resetPassword,
|
...resetPassword,
|
||||||
...search,
|
...search,
|
||||||
@ -78,6 +93,9 @@ export default {
|
|||||||
...settings,
|
...settings,
|
||||||
...signup,
|
...signup,
|
||||||
...sla,
|
...sla,
|
||||||
|
...snooze,
|
||||||
...teamsSettings,
|
...teamsSettings,
|
||||||
|
...webhooks,
|
||||||
...whatsappTemplates,
|
...whatsappTemplates,
|
||||||
|
...yearInReview,
|
||||||
};
|
};
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
import { frontendURL } from '../../../helper/URLHelper';
|
import { frontendURL } from '../../../helper/URLHelper';
|
||||||
import KanbanIndex from './Index.vue';
|
|
||||||
|
|
||||||
const meta = {
|
const meta = {
|
||||||
permissions: ['administrator', 'agent', 'custom_role'],
|
permissions: ['administrator', 'agent', 'custom_role'],
|
||||||
@ -8,8 +7,12 @@ const meta = {
|
|||||||
export const routes = [
|
export const routes = [
|
||||||
{
|
{
|
||||||
path: frontendURL('accounts/:accountId/kanban'),
|
path: frontendURL('accounts/:accountId/kanban'),
|
||||||
component: KanbanIndex,
|
|
||||||
name: 'kanban_view',
|
name: 'kanban_view',
|
||||||
|
redirect: to => ({
|
||||||
|
name: 'captain_reservations_index',
|
||||||
|
params: { accountId: to.params.accountId },
|
||||||
|
query: { view: 'kanban' },
|
||||||
|
}),
|
||||||
meta,
|
meta,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user