fix: update based on code-review suggestions

This commit is contained in:
Ademílson F. Tonato 2020-11-05 20:21:05 +00:00 committed by Wolfgang Huß
parent a94d7188be
commit 89e034057d
2 changed files with 2 additions and 4 deletions

View File

@ -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() {

View File

@ -21,7 +21,6 @@
<ds-button
ghost
primary
:disabled="unreadNotificationsCount === 0"
@click="markAllAsRead"
data-test="markAllAsRead-button"
>