Skip to content

Commit

Permalink
Merge pull request #536 from geonetwork/fix-no-record
Browse files Browse the repository at this point in the history
 fix: hiding favorite star if no id and added margin between panels
  • Loading branch information
f-necas committed Jul 19, 2023
2 parents 7babe14 + 11bed13 commit 7d67c60
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class="h-full container-lg mx-auto flex flex-col justify-center relative"
>
<gn-ui-favorite-star
*ngIf="metadata"
*ngIf="metadata?.id"
[record]="metadata"
class="absolute text-background top-[0.85em] right-[0.85em]"
[style.color]="foregroundColor"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@
</div>
</div>
<div
class="p-4 max-w-[600px] m-auto text-[13px]"
class="mt-12 p-4 max-w-[600px] m-auto text-[13px]"
*ngIf="facade.error$ | async as error"
>
<gn-ui-search-results-error
Expand Down

0 comments on commit 7d67c60

Please sign in to comment.