Skip to content

Commit 2976ce9

Browse files
committed
corrections
1 parent 3dd74ee commit 2976ce9

File tree

2 files changed

+41
-35
lines changed

2 files changed

+41
-35
lines changed

src/packages/dictionary/section/manifests.ts

Lines changed: 33 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -2,35 +2,39 @@ import { UMB_DICTIONARY_ROOT_ENTITY_TYPE } from '../entity.js';
22
import { UMB_DICTIONARY_MENU_ALIAS } from '../menu/index.js';
33
import { UMB_DICTIONARY_SECTION_ALIAS } from './constants.js';
44

5-
export const manifests: Array<UmbExtensionManifest> = [{
6-
type: 'section',
7-
alias: UMB_DICTIONARY_SECTION_ALIAS,
8-
name: 'Dictionary Section',
9-
weight: 400,
10-
meta: {
11-
label: '#sections_translation',
12-
pathname: 'dictionary',
13-
},
14-
conditions: [
15-
{
16-
alias: 'Umb.Condition.SectionUserPermission',
17-
match: UMB_DICTIONARY_SECTION_ALIAS,
5+
export const manifests: Array<UmbExtensionManifest> = [
6+
{
7+
type: 'section',
8+
alias: UMB_DICTIONARY_SECTION_ALIAS,
9+
name: 'Dictionary Section',
10+
weight: 400,
11+
meta: {
12+
label: '#sections_translation',
13+
pathname: 'dictionary',
1814
},
19-
], {
20-
type: 'sectionSidebarApp',
21-
kind: 'menuWithEntityActions',
22-
alias: 'Umb.SidebarMenu.Dictionary',
23-
name: 'Dictionary Sidebar Menu',
24-
weight: 100,
25-
meta: {
26-
label: '#sections_translation',
27-
menu: UMB_DICTIONARY_MENU_ALIAS,
28-
entityType: UMB_DICTIONARY_ROOT_ENTITY_TYPE,
15+
conditions: [
16+
{
17+
alias: 'Umb.Condition.SectionUserPermission',
18+
match: UMB_DICTIONARY_SECTION_ALIAS,
19+
},
20+
],
2921
},
30-
conditions: [
31-
{
32-
alias: 'Umb.Condition.SectionAlias',
33-
match: UMB_DICTIONARY_SECTION_ALIAS,
22+
{
23+
type: 'sectionSidebarApp',
24+
kind: 'menuWithEntityActions',
25+
alias: 'Umb.SidebarMenu.Dictionary',
26+
name: 'Dictionary Sidebar Menu',
27+
weight: 100,
28+
meta: {
29+
label: '#sections_translation',
30+
menu: UMB_DICTIONARY_MENU_ALIAS,
31+
entityType: UMB_DICTIONARY_ROOT_ENTITY_TYPE,
3432
},
35-
],
36-
}];
33+
conditions: [
34+
{
35+
alias: 'Umb.Condition.SectionAlias',
36+
match: UMB_DICTIONARY_SECTION_ALIAS,
37+
},
38+
],
39+
},
40+
];
Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
import { UMB_MOVE_MEDIA_REPOSITORY_ALIAS } from './constants.js';
22

3-
export const manifests: Array<UmbExtensionManifest> = [{
4-
type: 'repository',
5-
alias: UMB_MOVE_MEDIA_REPOSITORY_ALIAS,
6-
name: 'Move Media Repository',
7-
api: () => import('./media-move.repository.js'),
8-
};];
3+
export const manifests: Array<UmbExtensionManifest> = [
4+
{
5+
type: 'repository',
6+
alias: UMB_MOVE_MEDIA_REPOSITORY_ALIAS,
7+
name: 'Move Media Repository',
8+
api: () => import('./media-move.repository.js'),
9+
},
10+
];

0 commit comments

Comments
 (0)