Frontend update for renamed entity Appuser
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
<groupId>de.tilman</groupId>
|
<groupId>de.tilman</groupId>
|
||||||
<artifactId>next-transactions</artifactId>
|
<artifactId>next-transactions</artifactId>
|
||||||
<version>1.9.2</version>
|
<version>1.9.3</version>
|
||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
|||||||
@@ -160,7 +160,7 @@ transactionControllers.controller('TransactionListCtrl', [ '$scope', '$routePara
|
|||||||
userinfo.$promise.then(function(data) {
|
userinfo.$promise.then(function(data) {
|
||||||
$scope.userid = userinfo.name;
|
$scope.userid = userinfo.name;
|
||||||
|
|
||||||
userinfo = $resource('/api/users/search/findByUsername', { username: $scope.userid }).get();
|
userinfo = $resource('/api/appusers/search/findByUsername', { username: $scope.userid }).get();
|
||||||
userinfo.$promise.then(function(data) {
|
userinfo.$promise.then(function(data) {
|
||||||
$scope.userinfo = userinfo;
|
$scope.userinfo = userinfo;
|
||||||
});
|
});
|
||||||
@@ -446,7 +446,7 @@ transactionControllers.controller('ImportCtrl', [ '$scope', '$resource', '$locat
|
|||||||
userinfo.$promise.then(function(data) {
|
userinfo.$promise.then(function(data) {
|
||||||
$scope.userid = userinfo.name;
|
$scope.userid = userinfo.name;
|
||||||
|
|
||||||
userinfo = $resource('/api/users/search/findByUsername', { username: $scope.userid }).get();
|
userinfo = $resource('/api/appusers/search/findByUsername', { username: $scope.userid }).get();
|
||||||
userinfo.$promise.then(function(data) {
|
userinfo.$promise.then(function(data) {
|
||||||
$scope.userinfo = userinfo;
|
$scope.userinfo = userinfo;
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user