Commit 9f11b64b authored by Jérome Perrin's avatar Jérome Perrin

job shop: filter visible stations by _class, not id

parent a0892316
......@@ -429,8 +429,7 @@
var isVisibleStation = function (station) {
// we should be able to define in the backend which station is visible
return ["CAM", "CAD", "MILL", "EDM", "MASS", "IM"].indexOf(
station.substring(0, station.length - 1)) !== -1;
return that.getData().nodes[station]._class != "Dream.QueueManagedJob";
};
if (obj._class === 'Dream.Job') {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment