feat: Limit the number of custom filters per user (#7101)

This commit is contained in:
Tejaswini Chile
2023-05-22 18:03:15 +05:30
committed by GitHub
parent 68dedc37ba
commit d481b9fbcf
5 changed files with 31 additions and 1 deletions

View File

@@ -98,7 +98,7 @@ export default {
const errorMessage = error?.message;
this.alertMessage =
errorMessage || this.filterType === 0
? this.$t('FILTER.CUSTOM_VIEWS.ADD.API_FOLDERS.ERROR_MESSAGE')
? errorMessage
: this.$t('FILTER.CUSTOM_VIEWS.ADD.API_SEGMENTS.ERROR_MESSAGE');
} finally {
this.showAlert(this.alertMessage);