aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-03-22 18:18:01 +0100
committerChocobozzz <me@florianbigard.com>2022-03-22 18:27:29 +0100
commit851e808dc9949eeda0286cd2ee15480aee394df5 (patch)
treecacadc64c9abb43b32472299deb720de179c319e
parenta2c5cd4a03cfe792a5f7341b33115002c448d3e4 (diff)
downloadPeerTube-851e808dc9949eeda0286cd2ee15480aee394df5.tar.gz
PeerTube-851e808dc9949eeda0286cd2ee15480aee394df5.tar.zst
PeerTube-851e808dc9949eeda0286cd2ee15480aee394df5.zip
Fix angular build
-rw-r--r--client/src/app/shared/shared-forms/preview-upload.component.ts2
-rw-r--r--server/tests/shared/notifications.ts2
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 {
51 } 51 }
52 52
53 getReactiveFileButtonTooltip () { 53 getReactiveFileButtonTooltip () {
54 return $localize`(extensions: ${this.videoImageExtensions}, ${this.maxSizeText}: ${this.maxVideoImageSizeInBytes})` 54 return $localize`(extensions: ${this.videoImageExtensions}, ${this.maxSizeText}\: ${this.maxVideoImageSizeInBytes})`
55 } 55 }
56 56
57 ngOnInit () { 57 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
685 await setDefaultChannelAvatar(servers) 685 await setDefaultChannelAvatar(servers)
686 await setDefaultAccountAvatar(servers) 686 await setDefaultAccountAvatar(servers)
687 687
688 await servers[1].config.enableStudio() 688 if (servers[1]) await servers[1].config.enableStudio()
689 689
690 if (serversCount > 1) { 690 if (serversCount > 1) {
691 await doubleFollow(servers[0], servers[1]) 691 await doubleFollow(servers[0], servers[1])