chore: Revert the migration for inbox name changes (#4919)
This commit is contained in:
@@ -326,7 +326,7 @@
|
||||
|
||||
<script>
|
||||
import { mapGetters } from 'vuex';
|
||||
import { shouldBeUrl, isValidName } from 'shared/helpers/Validators';
|
||||
import { shouldBeUrl } from 'shared/helpers/Validators';
|
||||
import configMixin from 'shared/mixins/configMixin';
|
||||
import alertMixin from 'shared/mixins/alertMixin';
|
||||
import SettingIntroBanner from 'dashboard/components/widgets/SettingIntroBanner';
|
||||
@@ -571,7 +571,7 @@ export default {
|
||||
webhookUrl: {
|
||||
shouldBeUrl,
|
||||
},
|
||||
selectedInboxName: { isValidName },
|
||||
selectedInboxName: {},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -16,4 +16,3 @@ export const isValidPassword = value => {
|
||||
containsSpecialCharacter
|
||||
);
|
||||
};
|
||||
export const isValidName = value => /^\b[\w\s]*\b$/.test(value);
|
||||
|
||||
Reference in New Issue
Block a user