forked from FoundKeyGang/FoundKey
✌️
This commit is contained in:
parent
2a96429be8
commit
8d24fcba6a
2 changed files with 5 additions and 3 deletions
|
@ -20,7 +20,6 @@ import reactionsViewer from './reactions-viewer.vue';
|
|||
import time from './time.vue';
|
||||
import timer from './timer.vue';
|
||||
import mediaList from './media-list.vue';
|
||||
import mediaBanner from './media-banner.vue';
|
||||
import uploader from './uploader.vue';
|
||||
import specialMessage from './special-message.vue';
|
||||
import streamIndicator from './stream-indicator.vue';
|
||||
|
@ -64,7 +63,6 @@ Vue.component('mk-reactions-viewer', reactionsViewer);
|
|||
Vue.component('mk-time', time);
|
||||
Vue.component('mk-timer', timer);
|
||||
Vue.component('mk-media-list', mediaList);
|
||||
Vue.component('mk-media-banner', mediaBanner);
|
||||
Vue.component('mk-uploader', uploader);
|
||||
Vue.component('mk-special-message', specialMessage);
|
||||
Vue.component('mk-stream-indicator', streamIndicator);
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="mk-media-list">
|
||||
<template v-for="media in mediaList.filter(media => !previewable(media))">
|
||||
<mk-media-banner :media="media" :key="media.id"/>
|
||||
<x-banner :media="media" :key="media.id"/>
|
||||
</template>
|
||||
<div v-if="mediaList.filter(media => previewable(media)).length > 0" class="gird-container">
|
||||
<div :data-count="mediaList.filter(media => previewable(media)).length" ref="grid">
|
||||
|
@ -16,8 +16,12 @@
|
|||
|
||||
<script lang="ts">
|
||||
import Vue from 'vue';
|
||||
import XBanner from './media-banner.vue';
|
||||
|
||||
export default Vue.extend({
|
||||
components: {
|
||||
XBanner
|
||||
},
|
||||
props: {
|
||||
mediaList: {
|
||||
required: true
|
||||
|
|
Loading…
Reference in a new issue