-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1269 from osmlab/prerelease
v3.6.4
- Loading branch information
Showing
10 changed files
with
1,494 additions
and
1,468 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
import AsAvatarUser from './AsAvatarUser' | ||
import defaultPic from '../../static/images/user_no_image.png' | ||
|
||
describe('profilePic', () => { | ||
it("returns default pic if user has empty avatar URL", () => { | ||
const user = AsAvatarUser({avatarURL: ""}) | ||
expect(user.profilePic(200)).toEqual(defaultPic) | ||
}) | ||
|
||
it("returns default pic if server is assigned default user_no_image avatar", () => { | ||
const user = AsAvatarUser({avatarURL: "https://maproulette.org/images/user_no_image.jpg"}) | ||
expect(user.profilePic(200)).toEqual(defaultPic) | ||
}) | ||
}) |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,7 +22,7 @@ | |
} | ||
|
||
&__title { | ||
@apply mr-my-1; | ||
@apply mr-my-1 mr-max-w-full mr-break-words; | ||
|
||
a { | ||
@apply mr-text-white; | ||
|