Skip to content

Commit

Permalink
small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrands02 committed Aug 9, 2024
1 parent 9c2b518 commit fa9fbaf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion lib/Db/Listing.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use DateTime;
use JsonSerializable;
use OCP\AppFramework\Db\Entity;
use OCA\OpenCatalogi\Db\Organisation;

class Listing extends Entity implements JsonSerializable
{
Expand Down
2 changes: 0 additions & 2 deletions src/store/modules/directory.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
},
)
Expand Down

0 comments on commit fa9fbaf

Please sign in to comment.