feat: refs #7323 redirect to lilium
gitea/salix/pipeline/pr-test This commit looks good Details

This commit is contained in:
Jorge Penadés 2024-08-14 11:00:17 +02:00
parent d9f64dea08
commit cf39e944f0
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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'];