Commit 6d453385 authored by Anton's avatar Anton

Replace author with creator, replace old map types with new classes

parent c56b6b97
......@@ -3,7 +3,7 @@
strong {{ type }}
p.faded
span.q-pr-md(v-if="cell.styleClass") Class: .{{ cell.styleClass }}
span.q-pr-md(v-if="cell.author") Author: {{ cell.author.name }}
span.q-pr-md(v-if="cell.creator") Author: {{ cell.creator.name }}
</template>
<script>
......
......@@ -76,7 +76,7 @@
},
mounted () {
const _this = this
this.$store.dispatch('maps/find', { type: constants.mapTypes.MAP_TYPE_TIMELINE })
this.$store.dispatch('maps/find', { type: constants.mapClasses.MAP_CLASS_TIMELINE })
.then(maps => {
if (maps.items) _this.timelines = maps.items
})
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment