Updates for PR
return null for property check remove template from component.
This commit is contained in:
parent
40c698e6fd
commit
c15845e380
2 changed files with 12 additions and 14 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue