From 851e808dc9949eeda0286cd2ee15480aee394df5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 22 Mar 2022 18:18:01 +0100 Subject: [PATCH] Fix angular build --- client/src/app/shared/shared-forms/preview-upload.component.ts | 2 +- server/tests/shared/notifications.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/app/shared/shared-forms/preview-upload.component.ts b/client/src/app/shared/shared-forms/preview-upload.component.ts index 46920dd27..cdfa26a23 100644 --- a/client/src/app/shared/shared-forms/preview-upload.component.ts +++ b/client/src/app/shared/shared-forms/preview-upload.component.ts @@ -51,7 +51,7 @@ export class PreviewUploadComponent implements OnInit, ControlValueAccessor { } getReactiveFileButtonTooltip () { - return $localize`(extensions: ${this.videoImageExtensions}, ${this.maxSizeText}: ${this.maxVideoImageSizeInBytes})` + return $localize`(extensions: ${this.videoImageExtensions}, ${this.maxSizeText}\: ${this.maxVideoImageSizeInBytes})` } ngOnInit () { diff --git a/server/tests/shared/notifications.ts b/server/tests/shared/notifications.ts index 2a69a09de..58d79d3aa 100644 --- a/server/tests/shared/notifications.ts +++ b/server/tests/shared/notifications.ts @@ -685,7 +685,7 @@ async function prepareNotificationsTest (serversCount = 3, overrideConfigArg: an await setDefaultChannelAvatar(servers) await setDefaultAccountAvatar(servers) - await servers[1].config.enableStudio() + if (servers[1]) await servers[1].config.enableStudio() if (serversCount > 1) { await doubleFollow(servers[0], servers[1])