1
0
Fork 0
mirror of https://github.com/iNavFlight/inav-configurator.git synced 2025-07-24 00:35:20 +03:00

Cache assitnow offline data.

Allows for offline use.
This commit is contained in:
Marcelo Bezerra 2024-06-23 22:10:53 +02:00
parent 152124627c
commit a3778ae40f
3 changed files with 21 additions and 3 deletions

View file

@ -22,6 +22,13 @@ var globalSettings = {
docsTreeLocation: 'master',
cliAutocomplete: true,
assistnowApiKey: null,
assistnowOfflineData: [],
assistnowOfflineDate: 0,
store: null,
saveAssistnowData: function() {
this.store.set('assistnow_offline_data', this.assistnowOfflineData);
this.store.set('assistnow_offline_date', this.assistnowOfflineDate);
}
};
module.exports = { globalSettings, UnitType };