mirror of
https://github.com/lingble/chatwoot.git
synced 2025-11-21 05:25:03 +00:00
Fixes https://github.com/chatwoot/chatwoot/issues/8436 Fixes https://github.com/chatwoot/chatwoot/issues/9767 Fixes https://github.com/chatwoot/chatwoot/issues/10156 Fixes https://github.com/chatwoot/chatwoot/issues/6031 Fixes https://github.com/chatwoot/chatwoot/issues/5696 Fixes https://github.com/chatwoot/chatwoot/issues/9250 Fixes https://github.com/chatwoot/chatwoot/issues/9762 --------- Co-authored-by: Pranav <pranavrajs@gmail.com> Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
36 lines
575 B
Vue
36 lines
575 B
Vue
<script>
|
|
import ArticleListItem from './ArticleListItem.vue';
|
|
|
|
export default {
|
|
components: {
|
|
ArticleListItem,
|
|
},
|
|
props: {
|
|
articles: {
|
|
type: Array,
|
|
default: () => [],
|
|
},
|
|
},
|
|
data() {
|
|
return {};
|
|
},
|
|
methods: {
|
|
onClick(link) {
|
|
this.$emit('selectArticle', link);
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
|
|
<template>
|
|
<ul role="list" class="py-2">
|
|
<ArticleListItem
|
|
v-for="article in articles"
|
|
:key="article.slug"
|
|
:link="article.link"
|
|
:title="article.title"
|
|
@select-article="onClick"
|
|
/>
|
|
</ul>
|
|
</template>
|