Skip to content

Commit

Permalink
wip: Refactor collections based components #917
Browse files Browse the repository at this point in the history
  • Loading branch information
cnouguier committed Aug 14, 2024
1 parent 4179fb6 commit 804f815
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions map/client/components/KProjectMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
menu-anchor="bottom middle"
menu-self="top middle">
<template v-slot:default>
<KGridection
<KGrid
service="projects"
:base-query="{ _id: { $ne: projectId } }"
:dense="true"
Expand All @@ -30,12 +30,12 @@

<script>
import _ from 'lodash'
import { KGridection } from '../../../core/client/components'
import { KGrid } from '../../../core/client/components'
import { useProject } from '../composables'
export default {
components: {
KGridection
KGrid
},
inject: ['kActivity'],
computed: {
Expand Down
4 changes: 2 additions & 2 deletions map/client/components/catalog/KProjectsPanel.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="fit column">
<div class="fit">
<KGrid
service="projects"
:renderer="projectRenderer"
Expand All @@ -11,7 +11,7 @@
:header="toolbar"
header-class="full-width no-wrap"
@selection-changed="onProjectSelected"
class="q-px-sm col"
class="fit q-px-sm"
/>
</div>
</template>
Expand Down
4 changes: 2 additions & 2 deletions map/client/components/catalog/KViewsPanel.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="fit column">
<div class="fit">
<KGrid
service="catalog"
:renderer="viewRenderer"
Expand All @@ -11,7 +11,7 @@
:header="toolbar"
header-class="full-width no-wrap"
@selection-changed="onViewSelected"
class="q-px-sm col"
class="fit q-px-sm"
/>
</div>
</template>
Expand Down

0 comments on commit 804f815

Please sign in to comment.