Skip to content

Commit 55d8c10

Browse files
authored
Add conditions in entrypoints in apps.md (#4596)
2 parents 1b04ed7 + ee021ae commit 55d8c10

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/apps.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,8 @@ Entrypoints indicates front end routes to other apps. It contains a `name`, a `t
176176
"fr": "Nouveau fichier"
177177
},
178178
"hash": "/file/new",
179-
"icon": "PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMz" // svg in base64, for example to use like this src={`data:image/svg+xml;base64,${entrypoint.icon}`}
179+
"icon": "PHN2ZyB3aWR0aD0iMjkiIGhlaWdodD0iMz", // svg in base64, for example to use like this src={`data:image/svg+xml;base64,${entrypoint.icon}`}
180+
"conditions": [{ "type": "flag", "name": "office.enabled", "value": true }] // optional, conditions to display or not the entrypoint
180181
}
181182
]
182183
```

0 commit comments

Comments
 (0)