Skip to content

Commit

Permalink
layers => items
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Feb 7, 2024
1 parent bd9d83c commit 18ba0d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions api/web/src/components/LayerAdmin.vue
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</template>
<template v-else>
<TablerNone
v-if='!list.layers.length'
v-if='!list.items.length'
label='Layers'
@create='$router.push("/layer/new")'
/>
Expand All @@ -64,7 +64,7 @@
v-model:header='header'
/>
<tbody>
<tr @click='$router.push(`/layer/${layer.id}`)' :key='layer.id' v-for='(layer, layer_it) in list.layers' class='cursor-pointer'>
<tr @click='$router.push(`/layer/${layer.id}`)' :key='layer.id' v-for='(layer, layer_it) in list.items' class='cursor-pointer'>
<template v-for='h in header'>
<template v-if='h.display'>
<td>
Expand Down Expand Up @@ -124,7 +124,7 @@ export default {
},
list: {
total: 0,
layers: []
items: []
}
}
},
Expand Down

0 comments on commit 18ba0d5

Please sign in to comment.