// Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/ import { useApplicationStore } from '#shared/stores/application.ts' import TicketSidebarGitHub from '#desktop/pages/ticket/components/TicketSidebar/TicketSidebarExternalIssueTracker/TicketSidebarGitHub/TicketSidebarGitHub.vue' import { TicketSidebarScreenType } from '#desktop/pages/ticket/types/sidebar.ts' import type { TicketSidebarPlugin } from './types.ts' export default { title: __('GitHub'), component: TicketSidebarGitHub, permissions: ['ticket.agent'], screens: [ TicketSidebarScreenType.TicketDetailView, TicketSidebarScreenType.TicketCreate, ], icon: 'github', order: 4000, available: () => useApplicationStore().config.github_integration, }