diff --git a/frontend/src/app/components/home/browse/browse.component.html b/frontend/src/app/components/home/browse/browse.component.html index 0326a96..73d6eab 100644 --- a/frontend/src/app/components/home/browse/browse.component.html +++ b/frontend/src/app/components/home/browse/browse.component.html @@ -1,4 +1,6 @@
+ @if (currentMovie.length < 0) { + @if (playMovie === "") { - + + } } @else { + + +
+

Unfortunately there are no films available in the database.

}
diff --git a/frontend/src/app/components/home/browse/browse.component.scss b/frontend/src/app/components/home/browse/browse.component.scss index c9f5d1d..79d9443 100644 --- a/frontend/src/app/components/home/browse/browse.component.scss +++ b/frontend/src/app/components/home/browse/browse.component.scss @@ -67,3 +67,14 @@ section { width: 32px; height: auto; } + +.error { + display: flex; + justify-content: center; + position: fixed; + top: 120px; + left: 0; + right: 0; + padding: 24px; + text-align: center; +}