Code to hide cases tab from My-account

TO extend the view and delete an array _.extend(MenuTreeView.prototype, {getContext: _.wrap(MenuTreeView.prototype.getContext, function(fn) {try {var original_Ret = fn.apply(this, _.toArray(arguments)); original_Ret.menuItems.pop()} catch (e) {console.log(“err@barcode2View”, e)}return original_Ret;})});