-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add in some small tweaks #2721
Add in some small tweaks #2721
Conversation
Quality Gate passedIssues Measures |
@@ -169,7 +169,7 @@ export default defineComponent({ | |||
root.$router?.push({ | |||
name: 'shortnamedetails', | |||
params: { | |||
'shortNameId': state.results[index].id | |||
'shortNameId': state.results[index].id?.toString() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it was complaining about a number being passed not a string
@@ -1,5 +1,5 @@ | |||
<template> | |||
<v-card> | |||
<v-card v-if="shortNameDetails.shortName"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should make the bottom more consistent
@@ -81,7 +81,7 @@ export default defineComponent({ | |||
|
|||
const state = reactive<EFTTransactionState>({ | |||
results: [], | |||
totalResults: 1, | |||
totalResults: 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was showing 1, then going to 0, maybe this is better at 1 actually lol
@@ -91,7 +91,7 @@ export default defineComponent({ | |||
}) | |||
|
|||
const paymentsReceived = computed<string>(() => { | |||
return `Payments Received from ${props.shortNameDetails.shortName}` | |||
return props.shortNameDetails.shortName ? `Payments Received from ${props.shortNameDetails.shortName}` : 'Loading...' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small loading text, otherwise it has undefined for shortName - really hard to see though
@@ -1,7 +1,7 @@ | |||
<template> | |||
<v-container | |||
id="dashboard" | |||
class="container mt-4" | |||
id="short-name-mapping-view" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
id rename, spacing so it's consistent
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the sbc-auth license (Apache 2.0).