Add the possibiliy to use username if src is false or null
See original GitHub issueIt could be nice if you can add the feature like if src is null or false, show the username by default. Typical case when someone didn’t upload an avatar yet, the src still null so we should use his username (today, we have “width: 64px; height: 64px; background: url(“null”) no-repeat;” and I don’t want to use double “v-if” with double "<avatar>"
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
How to check for null current user in Firebase for Flutter
I have updated the code to: User? get user => _auth. · This is because isAnonymous can be null. You have to check...
Read more >Uncaught TypeError: Cannot read property of null - iDiallo
You are accessing a property of an object that is null. For example, document.getElementById('stuff') returns null. So adding .value will ...
Read more >Nulls in GraphQL: Cheatsheet - Hasura
If you get a null value for a nullable field from the server, there are four possibilities: The value is actually null or...
Read more >Resolve nullable warnings | Microsoft Learn
Several compiler warnings indicate code that isn't null-safe. Learn how to address those warnings by making your code more resilient.
Read more ><input>: The Input (Form Input) element - HTML
The HTML element is used to create interactive controls for web-based forms in order to accept data from the user; a wide variety...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@saintplay ya, its working for me now too. Not sure why it wasnt before
is working for me