From 05eb79f7b3c58564a343122f7813b2c2c90e0a21 Mon Sep 17 00:00:00 2001 From: Nicola Lanzilotto Date: Fri, 15 Dec 2023 15:38:03 +0100 Subject: [PATCH] minor improvements --- src/app/app-store/app-store.component.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/app-store/app-store.component.ts b/src/app/app-store/app-store.component.ts index 5ad256a1c49e..d9df27692b4b 100644 --- a/src/app/app-store/app-store.component.ts +++ b/src/app/app-store/app-store.component.ts @@ -230,25 +230,25 @@ export class AppStoreComponent implements OnInit { const paidApps = [ { - title: "WhatsApp Business", _id: "638a2564ccd1d40013e52125" + title: "WhatsApp Business" }, { - title: "Facebook Messenger", _id: "6421f8093e8de70013f78a5d" + title: "Facebook Messenger" }, { - title: "Help Center", _id: "643820f0edf2f350eeb2d835" + title: "Help Center" } ] if (!this.isVisiblePAY) { - this.apps = _apps.apps.filter(a => !paidApps.some(p => p._id == a._id)); + this.apps = _apps.apps.filter(a => !paidApps.some(p => p.title == a.title)); this.logger.log('APP-STORE - Here yes') this.logger.log('APP-STORE - getApps APPS after filter', this.apps) } const sendTranscriptAppIndex = this.apps.findIndex(object => { - return object._id === "64259aaf035da07321451424"; + return object.title === "Send transcript by email"; }); this.logger.log('sendTranscriptAppIndex ', sendTranscriptAppIndex);