mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-22 21:51:50 +08:00
Comments: Moved to tab UI, Converted tabs component to ts
Some checks failed
analyse-php / build (push) Waiting to run
lint-php / build (push) Waiting to run
test-js / build (push) Waiting to run
test-migrations / build (8.3) (push) Waiting to run
test-migrations / build (8.4) (push) Waiting to run
test-migrations / build (8.2) (push) Waiting to run
test-php / build (8.2) (push) Waiting to run
test-php / build (8.3) (push) Waiting to run
test-php / build (8.4) (push) Waiting to run
lint-js / build (push) Has been cancelled
Some checks failed
analyse-php / build (push) Waiting to run
lint-php / build (push) Waiting to run
test-js / build (push) Waiting to run
test-migrations / build (8.3) (push) Waiting to run
test-migrations / build (8.4) (push) Waiting to run
test-migrations / build (8.2) (push) Waiting to run
test-php / build (8.2) (push) Waiting to run
test-php / build (8.3) (push) Waiting to run
test-php / build (8.4) (push) Waiting to run
lint-js / build (push) Has been cancelled
This commit is contained in:
@ -140,8 +140,8 @@ export class PageComment extends Component {
|
||||
const action = isArchived ? 'unarchive' : 'archive';
|
||||
|
||||
const response = await window.$http.put(`/comment/${this.commentId}/${action}`);
|
||||
this.$emit(action, {new_thread_dom: htmlToDom(response.data as string)});
|
||||
window.$events.success(this.archiveText);
|
||||
this.$emit(action, {new_thread_dom: htmlToDom(response.data as string)});
|
||||
this.container.closest('.comment-branch')?.remove();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user