From fa9fbaf27ab77dc2698fe5d4107feac07c832ff5 Mon Sep 17 00:00:00 2001 From: Barry Brands Date: Fri, 9 Aug 2024 17:10:29 +0200 Subject: [PATCH] small cleanup --- lib/Db/Listing.php | 1 - src/store/modules/directory.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/lib/Db/Listing.php b/lib/Db/Listing.php index f4b33d87..a26a5a48 100644 --- a/lib/Db/Listing.php +++ b/lib/Db/Listing.php @@ -5,7 +5,6 @@ use DateTime; use JsonSerializable; use OCP\AppFramework\Db\Entity; -use OCA\OpenCatalogi\Db\Organisation; class Listing extends Entity implements JsonSerializable { diff --git a/src/store/modules/directory.js b/src/store/modules/directory.js index c80d1306..3c5c665a 100644 --- a/src/store/modules/directory.js +++ b/src/store/modules/directory.js @@ -36,9 +36,7 @@ export const useDirectoryStore = defineStore( (data) => { this.listingList = data.results.map( (listingItem) => { - console.log(listingItem.organisation) listingItem.organisation = listingItem?.organisation ? JSON.parse(listingItem.organisation): null; - console.log(listingItem.organisation) return new Listing(listingItem) }, )