mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
fix: update based on code-review suggestions
This commit is contained in:
parent
a94d7188be
commit
89e034057d
@ -26,7 +26,6 @@
|
||||
<ds-button
|
||||
ghost
|
||||
primary
|
||||
:disabled="unreadNotificationsCount === 0"
|
||||
@click="markAllAsRead"
|
||||
data-test="markAllAsRead-button"
|
||||
>
|
||||
@ -74,8 +73,8 @@ export default {
|
||||
mutation: markAsReadMutation(this.$i18n),
|
||||
variables,
|
||||
})
|
||||
} catch (err) {
|
||||
this.$toast.error(err.message)
|
||||
} catch (error) {
|
||||
this.$toast.error(error.message)
|
||||
}
|
||||
},
|
||||
async markAllAsRead() {
|
||||
|
||||
@ -21,7 +21,6 @@
|
||||
<ds-button
|
||||
ghost
|
||||
primary
|
||||
:disabled="unreadNotificationsCount === 0"
|
||||
@click="markAllAsRead"
|
||||
data-test="markAllAsRead-button"
|
||||
>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user