web/admin/user: fix user source connection lookups

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer
2021-03-24 21:40:08 +01:00
parent 1275f22599
commit 6e46124c94
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ export class SourceSettingsOAuth extends BaseUserSettings {
renderInner(source: OAuthSource): TemplateResult {
return html`${until(new SourcesApi(DEFAULT_CONFIG).sourcesOauthUserConnectionsList({
source: this.objectId
sourceSlug: this.objectId
}).then((connection) => {
if (connection.results.length > 0) {
return html`<p>${gettext("Connected.")}</p>