X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=sdnr%2Fwireless-transport%2Fcode-Carbon-SR1%2Fapps%2Fdlux%2Fdlux-web%2Fsrc%2Fcommon%2Fgeneral%2Fcommon.general.filters.js;fp=sdnr%2Fwireless-transport%2Fcode-Carbon-SR1%2Fapps%2Fdlux%2Fdlux-web%2Fsrc%2Fcommon%2Fgeneral%2Fcommon.general.filters.js;h=0000000000000000000000000000000000000000;hb=1c1e7f98416875f3ee78af9103865c32f95a82a0;hp=519525c7d28eff020e6e99ee677241cf4994115c;hpb=6a893bb0ae984d15076394d9225d4873ad953791;p=ccsdk%2Fapps.git diff --git a/sdnr/wireless-transport/code-Carbon-SR1/apps/dlux/dlux-web/src/common/general/common.general.filters.js b/sdnr/wireless-transport/code-Carbon-SR1/apps/dlux/dlux-web/src/common/general/common.general.filters.js deleted file mode 100644 index 519525c7..00000000 --- a/sdnr/wireless-transport/code-Carbon-SR1/apps/dlux/dlux-web/src/common/general/common.general.filters.js +++ /dev/null @@ -1,15 +0,0 @@ -define(['common/general/common.general.module'], function(general) { - - // Filter to return only valid ports (like id != 0) - general.filter('noRootPorts', function () { - return function (input) { - if (!input) { - return; - } - return input.filter(function(port) { - return port.nodeconnector.id !== "0" ? port : null; - }); - }; - }); - -});