CSR-550 | Swap to object tag to attempt iPhone fix

This commit is contained in:
Scott Kiener 2022-05-18 14:58:30 -04:00
parent 9fb125a78e
commit 4bd87506b6

View file

@ -3,7 +3,7 @@
<div class="loading-modal">
<section class="loading-modal-body">
<div class="modal-icon-container text-center">
<img alt="Loading" src="@/assets/img/FMGTransitionAnimation.svg">
<object type="image/svg+xml" :data="fmgAnimatedTransition"/>
</div>
</section>
</div>
@ -11,11 +11,15 @@
</template>
<script>
// load the path like this - <object> data attribute doesn't load the relative path correctly
const FMGAnimatedTransition = require("@/assets/img/FMGTransitionAnimation.svg");
export default {
name: 'Modal',
data() {
return {
isModalVisible: false,
fmgAnimatedTransition: FMGAnimatedTransition,
};
},
methods: {