-
-
Notifications
You must be signed in to change notification settings - Fork 27
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 #312 from sebadob/client-contacts-uri-logos
Add `client_uri` + `contacts` and migrate `client_logos` logic
- Loading branch information
Showing
25 changed files
with
1,421 additions
and
704 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<script> | ||
import {getKey} from "$lib/utils/helpers.js"; | ||
export let clientId; | ||
</script> | ||
|
||
<!-- | ||
We append a random param here to force the browser to do a refetch, if the logo has been changed. | ||
This is only needed for the Admin UI, when we upload a new version of the image. | ||
Without this (unused) query param, the browser would never reload the <img> tag. | ||
--> | ||
<img src="{`/auth/v1/clients/${clientId}/logo?${getKey(6)}`}" alt="No Logo Available"/> |
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,12 @@ | ||
<script> | ||
import {getKey} from "$lib/utils/helpers.js"; | ||
export let providerId; | ||
</script> | ||
|
||
<!-- | ||
We append a random param here to force the browser to do a refetch, if the logo has been changed. | ||
This is only needed for the Admin UI, when we upload a new version of the image. | ||
Without this (unused) query param, the browser would never reload the <img> tag. | ||
--> | ||
<img src="{`/auth/v1/providers/${providerId}/img?${getKey(6)}`}" width={20} height={20} alt="No Logo Available"/> |
Oops, something went wrong.