Skip to content

Commit f478ab1

Browse files
authored
Record view / fix permalink option. (geonetwork#8777)
Fixes geonetwork#8776.
1 parent 3e9434f commit f478ab1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web-ui/src/main/resources/catalog/components/search/mdview/mdviewDirective.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -605,16 +605,16 @@
605605
]);
606606

607607
module.directive("gnMetadataSocialLink", [
608-
"gnUtilityService",
608+
"gnMetadataActions",
609609
"$http",
610-
function (gnUtilityService, $http) {
610+
function (gnMetadataActions, $http) {
611611
return {
612612
templateUrl: "../../catalog/components/search/mdview/partials/social.html",
613613
scope: {
614614
md: "=gnMetadataSocialLink"
615615
},
616616
link: function (scope, element, attrs) {
617-
scope.mdService = gnUtilityService;
617+
scope.mdService = gnMetadataActions;
618618

619619
scope.$watch(
620620
"md",

0 commit comments

Comments
 (0)