[sty]
This commit is contained in:
parent
0b3d47114f
commit
f48ea6b9cd
1 changed files with 11 additions and 9 deletions
|
@ -108,15 +108,17 @@ namespace _zeitbild.frontend_web.pages
|
||||||
{
|
{
|
||||||
"name": "calendar_id",
|
"name": "calendar_id",
|
||||||
"input": new lib_plankton.zoo_input.class_input_selection(
|
"input": new lib_plankton.zoo_input.class_input_selection(
|
||||||
(await _zeitbild.frontend_web.backend.calendar_list())
|
(
|
||||||
.filter(
|
(await _zeitbild.frontend_web.backend.calendar_list())
|
||||||
(entry) => (["edit","admin"].includes(entry.access_level))
|
.filter(
|
||||||
)
|
(entry) => (["edit","admin"].includes(entry.access_level))
|
||||||
.map(
|
)
|
||||||
(entry) => ({
|
.map(
|
||||||
"value": entry.id.toFixed(0),
|
(entry) => ({
|
||||||
"label": entry.name,
|
"value": entry.id.toFixed(0),
|
||||||
})
|
"label": entry.name,
|
||||||
|
})
|
||||||
|
)
|
||||||
)
|
)
|
||||||
),
|
),
|
||||||
"label": lib_plankton.translate.get("calendar.calendar")
|
"label": lib_plankton.translate.get("calendar.calendar")
|
||||||
|
|
Loading…
Add table
Reference in a new issue