Skip to content
This repository was archived by the owner on Apr 22, 2022. It is now read-only.

Commit fc0726c

Browse files
author
taleksashina
committed
new graph form: show short user uri (with prefix)
1 parent c29f3df commit fc0726c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/webapp/js/settings/datasets/graphs-controller.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,11 @@ function GraphCtrl($scope, $http, flash, ConfigurationService, Helpers, AccountS
1818
contentType: "application/json; charset=utf-8"
1919
})
2020
.success(function (data, status, headers, config) {
21-
$scope.users = data;
21+
$scope.users = [];
22+
var ns = ConfigurationService.getUriBase();
23+
for (var ind in data) {
24+
$scope.users.push(data[ind].replace(ns, ":"));
25+
}
2226
})
2327
.error(function (data, status, headers, config) {
2428
flash.error = data;

0 commit comments

Comments
 (0)