Skip to content

Commit 6340a71

Browse files
committed
[TASK] Move spacer to front in default rendering
1 parent 91838ab commit 6340a71

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/typo3-universe.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ export interface Menu {
2929
}
3030

3131
const defaultEntries : Menu = {
32+
'spacer-1': {
33+
'type': MenuEntryType.spacer,
34+
'label': '',
35+
'href': '',
36+
},
3237
'services': {
3338
'type': MenuEntryType.link,
3439
'label': 'Product',
@@ -41,11 +46,6 @@ const defaultEntries : Menu = {
4146
'icon': svg`<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g fill="currentColor"><path d="M5 9H3.697l-.252.168L2 10.131V3h7v1h1V2.25A.25.25 0 0 0 9.75 2h-8.5a.25.25 0 0 0-.25.25V12l3-2h1V9z"/><path d="M14 6v7.131l-1.445-.964-.252-.167H7V6h7m.75-1h-8.5a.25.25 0 0 0-.25.25v7.5c0 .138.112.25.25.25H12l3 2V5.25a.25.25 0 0 0-.25-.25z"/><path d="M8 7h5v1H8zM8 9h2v1H8z"/></g></svg>`,
4247
'href': 'https://typo3.org',
4348
},
44-
'spacer-1': {
45-
'type': MenuEntryType.spacer,
46-
'label': '',
47-
'href': '',
48-
},
4949
'demo': {
5050
'type': MenuEntryType.link,
5151
'label': 'Demo',

0 commit comments

Comments
 (0)