Feat: 予約投稿の削除して編集を実装

Signed-off-by: mattyatea <mattyacocacora0@gmail.com>
This commit is contained in:
mattyatea 2023-11-26 05:18:59 +09:00
parent c95cbbc9b6
commit 28ee4d47c0
No known key found for this signature in database
GPG key ID: 068E54E2C33BEF9A
6 changed files with 40 additions and 10 deletions

View file

@ -983,6 +983,11 @@ onMounted(() => {
files = init.files;
cw = init.cw;
useCw = init.cw != null;
if (init.isSchedule) {
schedule = {
scheduledAt: init.createdAt,
};
}
if (init.poll) {
poll = {
choices: init.poll.choices.map(x => x.text),