We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af4de8c commit 2985f12Copy full SHA for 2985f12
packages/ui/src/components/QCalendarScheduler.ts
@@ -954,14 +954,16 @@ export default defineComponent({
954
if (resources === undefined) {
955
resources = props.modelResources
956
}
957
- return (resources as Resource[]).flatMap((resource, resourceIndex) => {
958
- return __renderResourceRow(
959
- resource,
960
- resourceIndex,
961
- indentLevel,
962
- resource.children !== undefined ? resource.expanded : expanded,
963
- )
964
- })
+ return (resources as Resource[])
+ .map((resource, resourceIndex) => {
+ return __renderResourceRow(
+ resource,
+ resourceIndex,
+ indentLevel,
+ resource.children !== undefined ? resource.expanded : expanded,
+ )
965
+ })
966
+ .flat()
967
968
969
function __renderResourceRow(
0 commit comments