-
Notifications
You must be signed in to change notification settings - Fork 1.8k
fix: show globe icon for general web links #4809
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
fix: show globe icon for general web links #4809
Conversation
|
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/eventyay/open-event-frontend/n1tsqagcz |
Codecov Report
@@ Coverage Diff @@
## development #4809 +/- ##
===============================================
- Coverage 23.50% 23.49% -0.02%
===============================================
Files 481 481
Lines 5079 5083 +4
Branches 16 16
===============================================
Hits 1194 1194
- Misses 3881 3885 +4
Partials 4 4
Continue to review full report at Codecov.
|
app/models/social-link.js
Outdated
| // https://github.com/fossasia/open-event-frontend/issues/4777 | ||
| return this.name && this.name.trim().toLowerCase(); | ||
|
|
||
| let normalizedName = this.name.trim().toLowerCase(); |
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.
Boom goes the last change. Read the comment above
7aa3fc0 to
7d14aaa
Compare
7d14aaa to
c9442e4
Compare
Co-authored-by: Areeb Jamal <[email protected]>
Co-authored-by: Areeb Jamal <[email protected]>
Co-authored-by: Areeb Jamal <[email protected]>
Fixes #4802
Short description of what this resolves:
Show
globeicon if the URL is not a standard social media URL.Changes proposed in this pull request:
Checklist
developmentbranch.