diff --git a/src/components/DaVinciAuthentication.vue b/src/components/DaVinciAuthentication.vue new file mode 100644 index 0000000..1ae48f3 --- /dev/null +++ b/src/components/DaVinciAuthentication.vue @@ -0,0 +1,54 @@ + + + diff --git a/src/components/IntegrationCard.vue b/src/components/IntegrationCard.vue index ef8306e..0d3ea2e 100644 --- a/src/components/IntegrationCard.vue +++ b/src/components/IntegrationCard.vue @@ -1,16 +1,22 @@ - diff --git a/src/components/TransferSummary.vue b/src/components/TransferSummary.vue index 14bbe4c..9fefd3b 100644 --- a/src/components/TransferSummary.vue +++ b/src/components/TransferSummary.vue @@ -3,26 +3,20 @@ export default { props: { summary: { type: String, default: "

Summary Should go here

" }, }, - }; diff --git a/src/views/DaVinciView.vue b/src/views/DaVinciView.vue new file mode 100644 index 0000000..c24ce85 --- /dev/null +++ b/src/views/DaVinciView.vue @@ -0,0 +1,16 @@ + + diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue index 6a8e4ed..1e1d4bb 100644 --- a/src/views/HomeView.vue +++ b/src/views/HomeView.vue @@ -1,3 +1,19 @@ + diff --git a/src/views/TelephonyContextView.vue b/src/views/TelephonyContextView.vue index 7cc5388..f4138aa 100644 --- a/src/views/TelephonyContextView.vue +++ b/src/views/TelephonyContextView.vue @@ -3,8 +3,8 @@ import { ref, onMounted } from "vue"; import VerticalLabelValue from "../components/VerticalLabelValue.vue"; import { getTenantProperty } from "../helpers/index"; import ErrorMessage from "../components/ErrorMessage.vue"; -import TransferSummary from "../components/TransferSummary.vue"; import IntegrationCard from "../components/IntegrationCard.vue"; +import DaVinciView from "./DaVinciView.vue"; const props = defineProps({ channel: { type: String, default: "" }, @@ -21,7 +21,7 @@ const props = defineProps({ integrationCardDoc: { type: String, default: "", - required: true + required: true, }, authenticated: { type: String, default: "false" }, }); @@ -36,8 +36,7 @@ onMounted(() => { }); function setValueFromTPS(reference, param, props) { - - if (param.startsWith('tps:')) { + if (param.startsWith("tps:")) { const tpsProperty = param.substring(4, param.length); getTenantProperty(tpsProperty, props) .then((value) => { @@ -58,7 +57,6 @@ function fetchData() { setValueFromTPS(transferSummaryValue, props.transferSummary, props); setValueFromTPS(integrationCardTitleValue, props.integrationCardTitle, props); setValueFromTPS(integrationCardDocValue, props.integrationCardDoc, props); - }