#7323 redirect to lilium #2862
|
@ -38,7 +38,7 @@
|
|||
</vn-icon-button>
|
||||
</div>
|
||||
<a
|
||||
ui-sref="worker.card.summary({id: $root.user.id})"
|
||||
ng-click="$ctrl.redirect($root.user.id)"
|
||||
class="vn-button colored"
|
||||
translate>
|
||||
My account
|
||||
|
|
|
@ -82,6 +82,9 @@ class Controller {
|
|||
? {id: $search}
|
||||
: {bank: {like: '%' + $search + '%'}};
|
||||
}
|
||||
async redirect(id) {
|
||||
window.location.href = await this.vnConfig.vnApp.getUrl(`worker/${id}`);
|
||||
}
|
||||
}
|
||||
Controller.$inject = ['$scope', '$translate', 'vnConfig', 'vnAuth', 'vnToken'];
|
||||
|
||||
|
|
Loading…
Reference in New Issue