mirror of
https://github.com/fleetdm/fleet
synced 2026-05-23 17:08:53 +00:00
Website: Update query generator (#38643)
Changes: - Fixed a bug in the query generator that prevented Linux and ChromeOS queries from being displayed to users automatically.
This commit is contained in:
parent
16e8d48396
commit
fd5d77a861
1 changed files with 3 additions and 5 deletions
|
|
@ -70,14 +70,12 @@ parasails.registerPage('query-generator', {
|
|||
this.generatedQueries = response.result;
|
||||
if(response.result.macOSQuery) {
|
||||
this.selectedTab = 'macos';
|
||||
} else if(!response.result.macOSQuery){
|
||||
} else if(!response.result.macOSQuery && response.result.windowsQuery){
|
||||
this.selectedTab = 'windows';
|
||||
} else if(!response.result.windowsQuery){
|
||||
} else if(!response.result.windowsQuery && response.result.linuxQuery){
|
||||
this.selectedTab = 'linux';
|
||||
} else if(!response.result.linuxQuery) {
|
||||
} else if(!response.result.linuxQuery && response.result.chromeOSQuery) {
|
||||
this.selectedTab = 'chromeos';
|
||||
} else if(!response.result.chromeOSQuery) {
|
||||
this.selectedTab = 'macos';
|
||||
}
|
||||
this.syncing = false;
|
||||
this.showGeneratedQuery = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue