refactor(client): コンポーネント名が紛らわしくなるのでpreview->simpleにリネーム
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
</div>
|
||||
<XPoll v-if="appearNote.poll" :note="appearNote" ref="pollViewer" class="poll"/>
|
||||
<MkUrlPreview v-for="url in urls" :url="url" :key="url" :compact="true" :detail="false" class="url-preview"/>
|
||||
<div class="renote" v-if="appearNote.renote"><XNotePreview :note="appearNote.renote"/></div>
|
||||
<div class="renote" v-if="appearNote.renote"><XNoteSimple :note="appearNote.renote"/></div>
|
||||
<button v-if="collapsed" class="fade _button" @click="collapsed = false">
|
||||
<span>{{ $ts.showMore }}</span>
|
||||
</button>
|
||||
@@ -106,7 +106,7 @@ import * as mfm from 'mfm-js';
|
||||
import { sum } from '../../../prelude/array';
|
||||
import XSub from './note.sub.vue';
|
||||
import XNoteHeader from './note-header.vue';
|
||||
import XNotePreview from './note-preview.vue';
|
||||
import XNoteSimple from './note-preview.vue';
|
||||
import XReactionsViewer from '@client/components/reactions-viewer.vue';
|
||||
import XMediaList from '@client/components/media-list.vue';
|
||||
import XCwButton from '@client/components/cw-button.vue';
|
||||
@@ -126,7 +126,7 @@ export default defineComponent({
|
||||
components: {
|
||||
XSub,
|
||||
XNoteHeader,
|
||||
XNotePreview,
|
||||
XNoteSimple,
|
||||
XReactionsViewer,
|
||||
XMediaList,
|
||||
XCwButton,
|
||||
|
||||
Reference in New Issue
Block a user