Skip to content
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

Merged
merged 1 commit into from
Feb 9, 2024
Merged

Add in some small tweaks #2721

merged 1 commit into from
Feb 9, 2024

Conversation

seeker25
Copy link
Collaborator

@seeker25 seeker25 commented Feb 9, 2024

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).

Copy link

sonarqubecloud bot commented Feb 9, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
1.3% Duplication on New Code

See analysis details on SonarCloud

@@ -169,7 +169,7 @@ export default defineComponent({
root.$router?.push({
name: 'shortnamedetails',
params: {
'shortNameId': state.results[index].id
'shortNameId': state.results[index].id?.toString()
Copy link
Collaborator Author

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">
Copy link
Collaborator Author

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,
Copy link
Collaborator Author

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...'
Copy link
Collaborator Author

@seeker25 seeker25 Feb 9, 2024

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"
Copy link
Collaborator Author

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

@seeker25 seeker25 merged commit dcb9e7b into bcgov:main Feb 9, 2024
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants