-
Notifications
You must be signed in to change notification settings - Fork 8
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
Adding an NA icon in case of no flag image in Node details #3276
Conversation
@@ -40,6 +40,7 @@ | |||
|
|||
<v-tooltip class="overflowText" v-if="item.hint && !item.icon" location="top" :text="item.hint"> | |||
<template #activator="{ props }"> | |||
<span class="flag-avatar" v-if="item.name === 'Flag' && !item.imgSrc">NA</span> |
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.
Would it be better if we added some padding top to the span?
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.
padding is added in flag-avatar class
const x = getCountryFlagSrc(); | ||
console.log("x ", x); |
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.
please remove the debug lines
@@ -48,6 +48,9 @@ export default { | |||
const getCountryFlagSrc = () => { | |||
const conuntryCode = getCountryCode(props.node); | |||
|
|||
if (conuntryCode.length > 2) { |
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 will be great if you fix this country typo
Description
Adding an NA icon in case of no flag image in Node details
Related Issues
Documentation PR
For UI changes, Please provide the Documetation PR on info_grid
Checklist