Skip to content

Commit 35285e4

Browse files
authored
feat: [DHIS2-20086] add command palette shortcuts (#4386)
1 parent 0ace335 commit 35285e4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

d2.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/** @type {import('@dhis2/cli-app-scripts').D2Config} */
12
const config = {
23
name: 'capture',
34
title: 'Capture',
@@ -10,6 +11,12 @@ const config = {
1011
entryPoints: {
1112
app: './src/index.tsx',
1213
},
14+
shortcuts: [
15+
{
16+
name: 'Search TEI',
17+
url: '#/search',
18+
},
19+
],
1320

1421
viteConfigExtensions: './vite.config.mts',
1522
};

0 commit comments

Comments
 (0)