Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] committed Sep 28, 2024
1 parent 6ce4a0b commit 9b0b03a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions kolibri/core/assets/src/views/NotificationsRoot.vue
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,8 @@
},
mostRecentNotification() {
if (this.notifications.length === 0) {
return null;
}
return null;
}
let languageCode = defaultLanguage.id;
// notifications should already be ordered by timestamp
const notification = this.notifications[0];
Expand Down Expand Up @@ -203,8 +203,8 @@
function _notificationListState(data) {
if (!data || data.length === 0) {
return [];
}
return [];
}
return data.map(notification => ({
id: notification.id,
version_range: notification.version_range,
Expand Down

0 comments on commit 9b0b03a

Please sign in to comment.