Skip to content

Commit

Permalink
Merge pull request #12592 from learningequality/rtibbles-patch-1
Browse files Browse the repository at this point in the history
Fix uncaught linting error
  • Loading branch information
rtibbles committed Aug 23, 2024
2 parents 53e03ac + 649223d commit 3413aa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,7 @@ import { ref, reactive, computed, onBeforeUnmount, watch } from 'kolibri.lib.vue
import { get, set, useMemoize, useTimeoutPoll } from '@vueuse/core';

import useMinimumKolibriVersion from 'kolibri.coreVue.composables.useMinimumKolibriVersion';
import {
fetchDevices,
channelIsAvailableAtDevice,
deviceHasAnyFacilities,
deviceHasMatchingFacility,
} from './api';
import { fetchDevices, channelIsAvailableAtDevice, deviceHasMatchingFacility } from './api';

const logging = logger.getLogger(__filename);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@
.then(data => {
this.facilities = [...data.facilities];
if (this.facilities.length === 0) {
// eslint-disable-next-line kolibri/vue-no-undefined-string-uses
this.errorMessage = SelectFacilityStrings.$tr('noFacilitiesText');
return;
}
Expand Down

0 comments on commit 3413aa1

Please sign in to comment.