mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-05 03:05:52 +02:00
Refactor & Clean up
This commit is contained in:
@@ -26,7 +26,7 @@ export default Vue.extend({
|
||||
const ok = window.confirm(this.$t('read-all'));
|
||||
if (!ok) return;
|
||||
|
||||
(this as any).api('notifications/mark_all_as_read');
|
||||
this.$root.api('notifications/mark_all_as_read');
|
||||
},
|
||||
onFetched() {
|
||||
Progress.done();
|
||||
|
||||
Reference in New Issue
Block a user