[MM-62587] Hide thread_footer when root post is deleted (#29874)

* [MM-62587] Hide thread_footer when root post is deleted

* Also remove the replies line from the RHS

* Fix logic to make sure post.delete_at exists

* Fix playwright test

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
Devin Binnie
2025-01-17 09:55:09 -05:00
коммит произвёл GitHub
родитель 53d6f59ff5
Коммит 0beac5c930
4 изменённых файлов: 13 добавлений и 2 удалений

Просмотреть файл

@@ -62,7 +62,7 @@ test('MM-T5435_1 Global Drafts link in sidebar should be hidden when another use
}
// # Open the last post in the channel sent by admin again
await lastPostByAdmin.threadFooter.reply();
await lastPostByAdmin.body.click();
// * Verify drafts in user's textbox is still visible
const rhsTextboxValue = await sidebarRight.postCreate.getInputValue();