PMCORE-2675

This commit is contained in:
Henry Jordan
2021-01-20 14:05:58 +00:00
parent 64168cb7cc
commit 39e7552935
2 changed files with 1 additions and 2 deletions

View File

@@ -280,7 +280,7 @@ export default {
action = _.find(response.data, function(o) { return o.id == "ACTIONS"; });
if(action){
option = _.find(action.options, function(o) { return o.fn == "cancelCase"; });
if(!option.hide){
if(option && !option.hide){
that.dataCaseSummary.onClick = () => {
that.$refs["modal-cancel-case"].show();
};