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) }, )