-
Notifications
You must be signed in to change notification settings - Fork 90
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
card balance appearance #1173
card balance appearance #1173
Conversation
…swap-exchange-web into feature/show-card-balance
…swap-exchange-web into feature/show-card-balance
get balance(): string { | ||
const balance = this.userInfo.availableBalance; | ||
|
||
if (balance === 0) return '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.
!balance
better
@@ -108,7 +123,7 @@ export default class Payment extends Mixins(TranslationMixin, mixins.LoadingMixi | |||
} | |||
</script> | |||
|
|||
<style lang="scss" scope> | |||
<style lang="scss"> |
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.
Why did you remove it? I don't see any reason
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's mistake created long ago, proper attributed is 'scoped'. Should be non-scoped
No description provided.