chore: Replace deprecated functions (#5611)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
co-authored by
Pranav Raj S
parent
0c8f744c33
commit
6c048626d0
@@ -93,7 +93,7 @@ export default {
|
||||
computed: {
|
||||
surveyId() {
|
||||
const pageURL = window.location.href;
|
||||
return pageURL.substr(pageURL.lastIndexOf('/') + 1);
|
||||
return pageURL.substring(pageURL.lastIndexOf('/') + 1);
|
||||
},
|
||||
isRatingSubmitted() {
|
||||
return this.surveyDetails && this.surveyDetails.rating;
|
||||
|
||||
Reference in New Issue
Block a user