いろいろかえた

This commit is contained in:
mattyatea 2024-01-29 01:08:54 +09:00
parent 7a3eb26c4d
commit 9031d41812
3 changed files with 32 additions and 24 deletions

10
locales/index.d.ts vendored
View File

@ -2916,11 +2916,14 @@ export interface Locale extends ILocale {
* *
*/ */
"send": string; "send": string;
"reportedNote": string;
/** /**
* *
*/ */
"fileAttachedOnly": string; "fileAttachedOnly": string;
/**
*
*/
"reportedNote": string;
/** /**
* *
*/ */
@ -3702,9 +3705,12 @@ export interface Locale extends ILocale {
*/ */
"emailRequiredForSignup": string; "emailRequiredForSignup": string;
/** /**
* * GDPRモードを有効にする
*/ */
"enableGDPRMode": string; "enableGDPRMode": string;
/**
*
*/
"unread": string; "unread": string;
/** /**
* *

View File

@ -93,6 +93,9 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
const list = await this.userListsRepository.findOneBy({ const list = await this.userListsRepository.findOneBy({
id: ps.listId, id: ps.listId,
isPublic: true, isPublic: true,
}) ?? await this.userListsRepository.findOneBy({
id: ps.listId,
userId: me.id,
}); });
if (list == null) { if (list == null) {

View File

@ -13,11 +13,10 @@ SPDX-License-Identifier: AGPL-3.0-only
</template> </template>
<script lang="ts"> <script lang="ts">
import { computed, ref } from 'vue'; import { computed, ref, watch } from 'vue';
const editMode = ref(false); const editMode = ref(false);
</script> </script>
<script lang="ts" setup> <script lang="ts" setup>
import { ref , computed , watch} from 'vue';
import XWidgets from '@/components/MkWidgets.vue'; import XWidgets from '@/components/MkWidgets.vue';
import { i18n } from '@/i18n.js'; import { i18n } from '@/i18n.js';
import { defaultStore } from '@/store.js'; import { defaultStore } from '@/store.js';
@ -42,7 +41,7 @@ watch(darkMode, () => {
} else { } else {
gaming.value = ''; gaming.value = '';
} }
}) });
watch(gamingMode, () => { watch(gamingMode, () => {
if (darkMode.value && gamingMode.value == true) { if (darkMode.value && gamingMode.value == true) {
@ -52,7 +51,7 @@ watch(gamingMode, () => {
} else { } else {
gaming.value = ''; gaming.value = '';
} }
}) });
const props = withDefaults(defineProps<{ const props = withDefaults(defineProps<{
// null = // null =
// left = place: left // left = place: left