Updates for PR

return null for property check
remove template from component.
This commit is contained in:
Bill Richardson 2024-08-15 15:43:35 -04:00
parent 40c698e6fd
commit c15845e380
2 changed files with 12 additions and 14 deletions

View file

@ -85,5 +85,5 @@ export function getPropertyCaseInsensitive(obj, property) {
let prop;
// eslint-disable-next-line no-cond-assign
while (prop = props.pop()) if (prop.toLowerCase() === property.toLowerCase()) return prop;
return property;
return null;
}

View file

@ -9,18 +9,16 @@
:footerButtonText="modalFooterText"
@isModalOpened="setModalStatus"
@footerButtonEvent="startNewReferral">
<template v-if="1===1">
<p class="mb-2 subheader-text text-center">
{{ modalSubHeaderText }}
</p>
<button
id="btnContinueReferral"
type="button"
class="btn btn-white-blue continue-referral align-items-center justify-content-center mt-2 py-3 px-4 delay w-100"
@click="continueReferral">
{{ modalBodyText }}
</button>
</template>
<p class="mb-2 subheader-text text-center">
{{ modalSubHeaderText }}
</p>
<button
id="btnContinueReferral"
type="button"
class="btn btn-white-blue continue-referral align-items-center justify-content-center mt-2 py-3 px-4 delay w-100"
@click="continueReferral">
{{ modalBodyText }}
</button>
</modal>
</div>
</transition>
@ -89,7 +87,7 @@ export default {
border-color: $blue;
color: $blue;
font-size: 1rem;
font-weight: 500;
font-weight: $font-weight-bold;
line-height: 1.5rem;
background-color: #ffffff;