stream description always above idnex

This commit is contained in:
كارل مبارك 2021-07-23 22:03:08 +02:00
parent 1588a29e08
commit 2bb3b0d4f9

View file

@ -1,6 +1,13 @@
<template>
<section>
<h1 class="title">{{ title }}</h1>
<vue3-markdown-it
class="description"
:source="description"
v-bind="$mdOpts"
>
</vue3-markdown-it>
<ul class="index">
<li v-for="topic in sortedTopics" :key="topic.title">
<router-link
@ -43,6 +50,11 @@ export default {
? "<= pick a stream"
: "Stream does not exist.";
},
description() {
return this.title &&
this.streams.find((s) => s.name == this.currentStream.name)
.description.replace('_PUB_', '')
},
},
methods: {
toValidID(string) {