chore: Fixes issue showing the CSAT error message (#6136)
Approved by Muhsin
This commit is contained in:
committed by
Pranav Raj S
parent
00eabe07a4
commit
e446a12ebb
@@ -174,7 +174,7 @@ export default {
|
|||||||
feedback_message: this.feedbackMessage,
|
feedback_message: this.feedbackMessage,
|
||||||
};
|
};
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
const errorMessage = error?.response?.data?.message;
|
const errorMessage = error?.response?.data?.error;
|
||||||
this.errorMessage = errorMessage || this.$t('SURVEY.API.ERROR_MESSAGE');
|
this.errorMessage = errorMessage || this.$t('SURVEY.API.ERROR_MESSAGE');
|
||||||
} finally {
|
} finally {
|
||||||
this.isUpdating = false;
|
this.isUpdating = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user