mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-25 17:10:43 +00:00
wip
This commit is contained in:
parent
222d914544
commit
814bf357ca
4 changed files with 6 additions and 6 deletions
|
|
@ -11,7 +11,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
<MkPagination v-slot="{items}" :paginator="paginator">
|
||||
<div class="_gaps_s">
|
||||
<div v-for="room in items" :key="room.id">
|
||||
<MkA :to="'/rooms/' + room.id">
|
||||
<MkA :to="'/rooms/r/' + room.id">
|
||||
<div>{{ room.name }}</div>
|
||||
</MkA>
|
||||
</div>
|
||||
|
|
@ -132,7 +132,7 @@ async function create() {
|
|||
visibility: 'public',
|
||||
});
|
||||
|
||||
router.push('/rooms/:roomId', {
|
||||
router.push('/rooms/r/:roomId', {
|
||||
params: {
|
||||
roomId: room.id,
|
||||
},
|
||||
|
|
|
|||
|
|
@ -605,7 +605,7 @@ function showOtherMenu(ev: PointerEvent) {
|
|||
action: async () => {
|
||||
os.post({
|
||||
initialText: `${props.room.name} by @${props.room.user.username}
|
||||
${url}/rooms/${props.room.id}`,
|
||||
${url}/rooms/r/${props.room.id}`,
|
||||
instant: true,
|
||||
});
|
||||
},
|
||||
|
|
|
|||
|
|
@ -747,9 +747,9 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
</MkFolder>
|
||||
</SearchMarker>
|
||||
|
||||
<SearchMarker v-slot="slotProps" :keywords="['world', 'room']">
|
||||
<SearchMarker v-slot="slotProps" :keywords="['world', 'rooms']">
|
||||
<MkFolder :defaultOpen="slotProps.isParentOfTarget">
|
||||
<template #label><SearchLabel>World / Room</SearchLabel></template>
|
||||
<template #label><SearchLabel>World / Rooms</SearchLabel></template>
|
||||
<template #icon><SearchIcon><i class="ti ti-buildings"></i></SearchIcon></template>
|
||||
|
||||
<div class="_gaps_m">
|
||||
|
|
|
|||
|
|
@ -601,7 +601,7 @@ export const ROUTE_DEF = [{
|
|||
path: '/rooms',
|
||||
component: page(() => import('@/pages/rooms/index.vue')),
|
||||
}, {
|
||||
path: '/rooms/:roomId',
|
||||
path: '/rooms/r/:roomId',
|
||||
component: page(() => import('@/pages/rooms/room.vue')),
|
||||
}, {
|
||||
path: '/debug',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue