mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-09 00:39:20 +09:00
70a7800927
* プロフィールにその人が作ったPlayの一覧出せるように * Update CHANGELOG.md * playの公開範囲を設定できるように * 間違えて変更してしまったのを修正 * Update packages/frontend/src/pages/flash/flash-edit.vue * Update packages/frontend/src/pages/flash/flash-edit.vue * tweak * Update packages/backend/migration/1690796169261-play-visibility.js * Update packages/backend/src/models/entities/Flash.ts * Update packages/backend/src/models/entities/Flash.ts * Update Flash.ts --------- Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
32 lines
774 B
Vue
32 lines
774 B
Vue
<!--
|
|
SPDX-FileCopyrightText: syuilo and other misskey contributors
|
|
SPDX-License-Identifier: AGPL-3.0-only
|
|
-->
|
|
|
|
<template>
|
|
<MkSpacer :contentMax="700">
|
|
<MkPagination v-slot="{items}" ref="list" :pagination="pagination">
|
|
<MkFlashPreview v-for="flash in items" :key="flash.id" :flash="flash" class="_margin"/>
|
|
</MkPagination>
|
|
</MkSpacer>
|
|
</template>
|
|
|
|
<script lang="ts" setup>
|
|
import { computed } from 'vue';
|
|
import * as misskey from 'misskey-js';
|
|
import MkFlashPreview from '@/components/MkFlashPreview.vue';
|
|
import MkPagination from '@/components/MkPagination.vue';
|
|
|
|
const props = defineProps<{
|
|
user: misskey.entities.User;
|
|
}>();
|
|
|
|
const pagination = {
|
|
endpoint: 'users/flashs' as const,
|
|
limit: 20,
|
|
params: computed(() => ({
|
|
userId: props.user.id,
|
|
})),
|
|
};
|
|
</script>
|