From 6e282cc6b30fa0b2179ac70276e001c1b49b44a7 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Wed, 20 Sep 2023 04:02:46 +0200 Subject: [PATCH] Places: Hide photo count notification in embedded mode #1187 #3657 Signed-off-by: Michael Mayer --- frontend/src/page/photos.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/page/photos.vue b/frontend/src/page/photos.vue index e565c92ed..42c31c4e9 100644 --- a/frontend/src/page/photos.vue +++ b/frontend/src/page/photos.vue @@ -565,7 +565,9 @@ export default { this.$notify.info(this.$gettextInterpolate(this.$gettext("%{n} pictures found"), {n: this.results.length})); } } else { - this.$notify.info(this.$gettextInterpolate(this.$gettext("More than %{n} pictures found"), {n: 100})); + if (!this.embedded) { + this.$notify.info(this.$gettextInterpolate(this.$gettext("More than %{n} pictures found"), {n: 100})); + } this.$nextTick(() => { if (this.$root.$el.clientHeight <= window.document.documentElement.clientHeight + 300) {