CSR-756 Cleanup

This commit is contained in:
Katie 2022-07-28 16:11:31 -04:00
parent 4969b21fd3
commit 7450840a36
2 changed files with 1 additions and 10 deletions

View file

@ -223,8 +223,6 @@ function navigateToUrl(url, optionalQuery = {}) {
for (const queryKey in optionalQuery) {
externalUrl.searchParams.append(queryKey, optionalQuery[queryKey]);
}
externalUrl.searchParams.append("experiments", "ConceptFunnel=ConceptFunnel_V1=ConceptFunnel_TEST=true");
window.location.assign(externalUrl);
}

View file

@ -63,7 +63,7 @@
<script>
import { useField } from "vee-validate";
import { toRef, computed } from "vue";
import { toRef } from "vue";
import { queryStrings } from "@/constants/query-strings";
export default {
@ -87,7 +87,6 @@ export default {
colLength: String,
validationRules: String,
selectedValues: [Array, String],
// modelValue: Object,
hasError: Boolean,
},
data() {
@ -98,7 +97,6 @@ export default {
mounted() {
if (Array.isArray(this.validateValue)) {
this.checkValue = this.isValueSelectedByArray(this.selectedValues);
const isSelectedByValidator = this.isValueSelectedByArray(this.validateValue);
if (this.checkValue != isSelectedByValidator) {
@ -164,7 +162,6 @@ export default {
watch: {
// Changing this will impact pre-selection data loads on vehicle-parts.
// If changed, please regression test that vehicle-parts data still loads correctly with previous selections.
// model
selectedValues(newVal) {
if (typeof newVal === "string") {
this.checkValue = newVal == this.value;
@ -192,8 +189,6 @@ export default {
const {
handleChange,
errors,
checked,
meta,
value
} = useField(toRef(props, "groupName"), toRef(props, "validationRules"), fieldOptions);
@ -203,8 +198,6 @@ export default {
return {
handleChange,
errors,
checked,
meta,
validateValue,
fieldOptions, // only need to expose this for unit test purposes
};