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:
parent
152124627c
commit
a3778ae40f
3 changed files with 21 additions and 3 deletions
|
@ -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 };
|
Loading…
Add table
Add a link
Reference in a new issue