Skip to content

Commit

Permalink
Merge pull request #11186 from nikkuAg/save-button-ui
Browse files Browse the repository at this point in the history
Retain the position of save button on tab switch
  • Loading branch information
MisRob authored Sep 5, 2023
2 parents cc9da2a + abd7e0a commit 722ac12
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@

<script>
import store from 'kolibri.coreVue.vuex.store';
import { mapGetters } from 'vuex';
import find from 'lodash/find';
import urls from 'kolibri.urls';
Expand All @@ -360,6 +361,7 @@
import { getFreeSpaceOnServer } from '../AvailableChannelsPage/api';
import useDeviceRestart from '../../composables/useDeviceRestart';
import usePlugins from '../../composables/usePlugins';
import { showDeviceInfoPage } from '../../modules/deviceInfo/handlers';
import { getDeviceSettings, getPathsPermissions, saveDeviceSettings, getDeviceURLs } from './api';
import PrimaryStorageLocationModal from './PrimaryStorageLocationModal';
import AddStorageLocationModal from './AddStorageLocationModal';
Expand Down Expand Up @@ -536,6 +538,9 @@
}
},
deviceIsAndroid() {
if (this.deviceInfo === undefined) {
showDeviceInfoPage(store);
}
if (this.getDeviceOS === undefined) {
return true;
}
Expand Down

0 comments on commit 722ac12

Please sign in to comment.