in method When I am updating the ticket status. if we select ticket status = open page is refreshing continuesly.
isEditableField(fieldname) { if (fieldname === 'status') { return true; } else if (this.ticket.status === 'Closed' || this.ticket.status === 'Resolved') { return false; } else if (this.ticket.status === 'Open'){ location.reload() return true; } },
Page should be refresh once when we select the ticket status open.