chore: rename prop
continuous-integration/drone/pr Build is failing Details

This commit is contained in:
kolaente 2023-03-28 15:33:34 +02:00
parent 71423f25c0
commit 39b076ef6b
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 6 additions and 6 deletions

View File

@ -8,13 +8,13 @@
handle=".handle"
tag="ul"
item-key="id"
:disabled="!allowDrag"
:disabled="!canEditOrder"
:component-data="{
type: 'transition-group',
name: !drag ? 'flip-list' : null,
class: [
'menu-list can-be-hidden',
{ 'dragging-disabled': !allowDrag }
{ 'dragging-disabled': !canEditOrder }
]
}"
>
@ -68,7 +68,7 @@
<ProjectsNavigation
v-if="!collapsedProjects[p.id]"
v-model="p.childProjects"
:allow-drag="true"
:can-edit-order="true"
/>
</li>
</template>
@ -94,7 +94,7 @@ import {useProjectStore} from '@/stores/projects'
const props = defineProps<{
modelValue: IProject[],
allowDrag: boolean,
canEditOrder: boolean,
}>()
const emit = defineEmits(['update:modelValue'])

View File

@ -49,11 +49,11 @@
</nav>
<nav class="menu" v-if="favoriteProjects">
<ProjectsNavigation v-model="favoriteProjects" :allow-drag="false"/>
<ProjectsNavigation v-model="favoriteProjects" :can-edit-order="false"/>
</nav>
<nav class="menu">
<ProjectsNavigation v-model="projects" :allow-drag="true"/>
<ProjectsNavigation v-model="projects" :can-edit-order="true"/>
</nav>
<PoweredByLink/>