Fixing "script" element by moving to const
This commit is contained in:
parent
be9f79594d
commit
3dd0c2dae8
@ -17,7 +17,7 @@ export default {
|
|||||||
Customer Authenticated
|
Customer Authenticated
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="authboxred">
|
<div v-else class="authboxred">
|
||||||
<font-awesome-icon id="noauth" :icon="['fas', 'user-lock']" size="2l" />
|
<font-awesome-icon id="noauth" :icon="['fas', 'user-lock']" size="2xl" />
|
||||||
Customer Not Authenticated
|
Customer Not Authenticated
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -3,8 +3,8 @@ import TransferSummary from "../components/TransferSummary.vue";
|
|||||||
import DaVinciAuthentication from "../components/DaVinciAuthentication.vue";
|
import DaVinciAuthentication from "../components/DaVinciAuthentication.vue";
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
summary: { type: String, default: "", required: true },
|
summary: { type: String, default: "<h4>Summary not available.</h4>" },
|
||||||
authenticated: { type: String, default: "false" },
|
authenticated: { type: Boolean, default: false },
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
|
|||||||
@ -22,10 +22,11 @@ She wants to dicuss with someone to alter payment arrangements payment due date.
|
|||||||
</table>
|
</table>
|
||||||
</div>`;
|
</div>`;
|
||||||
|
|
||||||
|
const scriptElementName = "script"
|
||||||
const integrationCardDoc = `<html>
|
const integrationCardDoc = `<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<script src=https://kit.fontawesome.com/31d985961d.js crossorigin="anonymous"></ script>
|
<${scriptElementName} src="https://kit.fontawesome.com/31d985961d.js" crossorigin="anonymous"></${scriptElementName}>
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: Arial, Helvetica, sans-serif;
|
||||||
@ -100,7 +101,6 @@ const integrationCardDoc = `<html>
|
|||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>`;
|
</html>`;
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<template>
|
<template>
|
||||||
<div class="home">
|
<div class="home">
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user