Skip to content

Commit

Permalink
Changes from code review
Browse files Browse the repository at this point in the history
  • Loading branch information
DingoEatingFuzz committed Feb 11, 2019
1 parent 2fdec7e commit b769365
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions ui/app/controllers/jobs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,16 @@ export default Controller.extend(Sortable, Searchable, {
fuzzySearchProps: computed(() => ['name']),
fuzzySearchEnabled: true,

qpType: '',
qpStatus: '',
qpDatacenter: '',
qpPrefix: '',

selectionType: qpSelection('qpType'),
selectionStatus: qpSelection('qpStatus'),
selectionDatacenter: qpSelection('qpDatacenter'),
selectionPrefix: qpSelection('qpPrefix'),

optionsType: computed(() => [
{ key: 'batch', label: 'Batch' },
{ key: 'parameterized', label: 'Parameterized' },
Expand Down Expand Up @@ -125,18 +135,8 @@ export default Controller.extend(Sortable, Searchable, {
}));
}),

qpType: '',
qpStatus: '',
qpDatacenter: '',
qpPrefix: '',

selectionType: qpSelection('qpType'),
selectionStatus: qpSelection('qpStatus'),
selectionDatacenter: qpSelection('qpDatacenter'),
selectionPrefix: qpSelection('qpPrefix'),

/**
Filtered jobs are those that match the selected namespace and aren't children
Visible jobs are those that match the selected namespace and aren't children
of periodic or parameterized jobs.
*/
visibleJobs: computed('model.[]', 'model.@each.parent', function() {
Expand Down

0 comments on commit b769365

Please sign in to comment.