|
1 | 1 | <script> |
2 | 2 | import { onDestroy, onMount } from 'svelte'; |
| 3 | + import { _ } from 'svelte-i18n'; |
| 4 | + import { goto } from '$app/navigation'; |
| 5 | + import Swal from 'sweetalert2'; |
3 | 6 | import { Button, Col, Row } from '@sveltestrap/sveltestrap'; |
4 | 7 | import Breadcrumb from '$lib/common/Breadcrumb.svelte'; |
5 | 8 | import HeadTitle from '$lib/common/HeadTitle.svelte'; |
6 | | - import CardAgent from './card-agent.svelte'; |
7 | 9 | import LoadingToComplete from '$lib/common/LoadingToComplete.svelte'; |
8 | | - import { createAgent, getAgentLabels, getAgents } from '$lib/services/agent-service.js'; |
9 | | - import { myInfo } from '$lib/services/auth-service'; |
10 | 10 | import PlainPagination from '$lib/common/PlainPagination.svelte'; |
11 | | - import { _ } from 'svelte-i18n' |
12 | | - import { goto } from '$app/navigation'; |
13 | | - import Swal from 'sweetalert2'; |
| 11 | + import MultiSelect from '$lib/common/MultiSelect.svelte'; |
| 12 | + import { createAgent, getAgentLabels, getAgents } from '$lib/services/agent-service.js'; |
14 | 13 | import { AgentType, GlobalEvent, UserPermission } from '$lib/helpers/enums'; |
| 14 | + import { myInfo } from '$lib/services/auth-service'; |
15 | 15 | import { ADMIN_ROLES } from '$lib/helpers/constants'; |
16 | 16 | import { globalEventStore } from '$lib/helpers/store'; |
17 | | - import MultiSelect from '$lib/common/MultiSelect.svelte'; |
| 17 | + import CardAgent from './card-agent.svelte'; |
18 | 18 | |
19 | 19 | |
20 | 20 | const firstPage = 1; |
|
0 commit comments