mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fix unpinned queries re: @yahiko
This commit is contained in:
parent
34a2f0b3b0
commit
35e0653b13
@ -219,7 +219,7 @@ function (angular, _, config, kbn) {
|
||||
case 'pinned':
|
||||
return _.pluck(_.where(self.list,{pin:true,enable:true}),'id');
|
||||
case 'unpinned':
|
||||
return _.difference(self.ids,_.pluck(_.where(self.list,{pin:true,enable:true}),'id'));
|
||||
return _.pluck(_.where(self.list,{pin:false,enable:true}),'id');
|
||||
case 'selected':
|
||||
return _.intersection(_.pluck(_.where(self.list,{enable:true}),'id'),config.ids);
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user