tweak
This commit is contained in:
parent
124f65810e
commit
23f77fc878
|
@ -1136,7 +1136,6 @@ _serverRules:
|
|||
description: "新規登録前に表示する、サーバーの簡潔なルールを設定します。内容は利用規約の要約とすることを推奨します。"
|
||||
|
||||
_event:
|
||||
title: "題名"
|
||||
startDateTime: "開始日時"
|
||||
endDateTime: "終了日時"
|
||||
startDate: "開始日"
|
||||
|
@ -1146,7 +1145,6 @@ _event:
|
|||
detailName: "属性"
|
||||
detailValue: "値"
|
||||
location: "Location"
|
||||
url: "URL"
|
||||
doorTime: "Door Time"
|
||||
organizer: "Organizer"
|
||||
organizerLink: "Organizer Link"
|
||||
|
|
|
@ -23,7 +23,7 @@ import { MfmService } from '@/core/MfmService.js';
|
|||
import { UserEntityService } from '@/core/entities/UserEntityService.js';
|
||||
import { DriveFileEntityService } from '@/core/entities/DriveFileEntityService.js';
|
||||
import type { MiUserKeypair } from '@/models/entities/UserKeypair.js';
|
||||
import type { UsersRepository, UserProfilesRepository, NotesRepository, DriveFilesRepository, PollsRepository } from '@/models/index.js';
|
||||
import type { UsersRepository, UserProfilesRepository, NotesRepository, DriveFilesRepository, PollsRepository, EventsRepository } from '@/models/index.js';
|
||||
import { bindThis } from '@/decorators.js';
|
||||
import { CustomEmojiService } from '@/core/CustomEmojiService.js';
|
||||
import { isNotNull } from '@/misc/is-not-null.js';
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
import { Inject, Injectable } from '@nestjs/common';
|
||||
import { DI } from '@/di-symbols.js';
|
||||
import type { EventsRepository, NotesRepository } from '@/models/index.js';
|
||||
import type { Config } from '@/config.js';
|
||||
import type Logger from '@/logger.js';
|
||||
import { bindThis } from '@/decorators.js';
|
||||
import { IEvent } from '@/models/entities/Event.js';
|
||||
|
@ -16,15 +14,6 @@ export class ApEventService {
|
|||
private logger: Logger;
|
||||
|
||||
constructor(
|
||||
@Inject(DI.config)
|
||||
private config: Config,
|
||||
|
||||
@Inject(DI.notesRepository)
|
||||
private notesRepository: NotesRepository,
|
||||
|
||||
@Inject(DI.eventsRepository)
|
||||
private eventsRepository: EventsRepository,
|
||||
|
||||
private apResolverService: ApResolverService,
|
||||
private apLoggerService: ApLoggerService,
|
||||
) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<div class="zmdxowut">
|
||||
<MkInput v-model="title" small type="text" class="input">
|
||||
<template #label>*{{ i18n.ts._event.title }}</template>
|
||||
<template #label>*{{ i18n.ts.title }}</template>
|
||||
</MkInput>
|
||||
<section>
|
||||
<div>
|
||||
|
@ -32,7 +32,7 @@
|
|||
</section>
|
||||
<section>
|
||||
<MkInput v-model="url" small type="url" class="input">
|
||||
<template #label>{{ i18n.ts._event.url }}</template>
|
||||
<template #label>URL</template>
|
||||
</MkInput>
|
||||
</section>
|
||||
</div>
|
||||
|
@ -194,7 +194,7 @@ function get(): misskey.entities.Note['event'] {
|
|||
};
|
||||
}
|
||||
|
||||
watch([title, startDate, startTime, endDate, endTime, location, url, doorTime, organizer, organizerLink, audience, language,
|
||||
watch([title, startDate, startTime, endDate, endTime, location, url, doorTime, organizer, organizerLink, audience, language,
|
||||
ageRange, ticketsUrl, isFree, price, availabilityStart, availabilityEnd, keywords], () => emit('update:modelValue', get()), {
|
||||
deep: true,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue