Merge ~blake-rouse/maas:fix-1699864-2.2 into maas:2.2
Proposed by
Blake Rouse
Status: | Merged |
---|---|
Approved by: | Blake Rouse |
Approved revision: | 737117af6b6e33b118bcc694017bb045c80af002 |
Merge reported by: | MAAS Lander |
Merged at revision: | not available |
Proposed branch: | ~blake-rouse/maas:fix-1699864-2.2 |
Merge into: | maas:2.2 |
Diff against target: |
236 lines (+34/-33) 3 files modified
src/maasserver/static/js/angular/directives/machines_table.js (+14/-14) src/maasserver/static/js/angular/directives/tests/test_machines_table.js (+19/-18) src/maasserver/static/partials/machines-table.html (+1/-1) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Blake Rouse (community) | Approve | ||
Review via email: mp+326942@code.launchpad.net |
Commit message
Backport d39a0e21fd14125
The machines, filteredMachines, and osinfo where placed on the scope directly. Once vs-repeat was added it changed the scope inside the directive to be the scope of vs-repeat and not the scope of machines-table. Moving those variables to the table variable on the machines-table scope fixes the issue as the table object will be copied by reference into the nested vs-repeat scope.
To post a comment you must log in.
Self-approving the backport!