Merge remote-tracking branch 'misskey-dev/develop' into io
This commit is contained in:
commit
1a243d8ae8
53 changed files with 2071 additions and 2004 deletions
|
@ -70,11 +70,9 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
|
||||
<script lang="ts" setup>
|
||||
import { onMounted, provide, ref, computed } from 'vue';
|
||||
import * as Misskey from 'misskey-js';
|
||||
import XCommon from './_common_/common.vue';
|
||||
import { instanceName } from '@/config.js';
|
||||
import * as os from '@/os.js';
|
||||
import { misskeyApi } from '@/scripts/misskey-api.js';
|
||||
import { instance } from '@/instance.js';
|
||||
import XSigninDialog from '@/components/MkSigninDialog.vue';
|
||||
import XSignupDialog from '@/components/MkSignupDialog.vue';
|
||||
|
@ -115,7 +113,6 @@ const isTimelineAvailable = ref(instance.policies?.ltlAvailable || instance.poli
|
|||
const showMenu = ref(false);
|
||||
const isDesktop = ref(window.innerWidth >= DESKTOP_THRESHOLD);
|
||||
const narrow = ref(window.innerWidth < 1280);
|
||||
const meta = ref<Misskey.entities.MetaResponse>();
|
||||
|
||||
const keymap = computed(() => {
|
||||
return {
|
||||
|
@ -129,10 +126,6 @@ const keymap = computed(() => {
|
|||
};
|
||||
});
|
||||
|
||||
misskeyApi('meta', { detail: true }).then(res => {
|
||||
meta.value = res;
|
||||
});
|
||||
|
||||
function signin() {
|
||||
os.popup(XSigninDialog, {
|
||||
autoSet: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue