Commit 239246aa by Nattana Chaiyamat

แก้ลิงค์ไปผิดหน้า

parent 794cdd44
...@@ -27,7 +27,8 @@ ...@@ -27,7 +27,8 @@
<div class="bp-grid"> <div class="bp-grid">
<ng-container *ngFor="let m of hrdModules let f = first"> <ng-container *ngFor="let m of hrdModules let f = first">
<div class="module-card" [routerLink]=" !f ? '/ess/employee-self-service' :null"> <div class="module-card" [routerLink]=" f ? '/ess/employee-self-service' :null"
(click)="!f ? goToWebsite('https://www.myhr.co.th/') : null">
<img [src]="m.icon" [alt]="m.title + ' icon'" class="module-img" /> <img [src]="m.icon" [alt]="m.title + ' icon'" class="module-img" />
<p class="module-label"> <p class="module-label">
<span class="font-semibold text-sky-600">One X</span><br /> <span class="font-semibold text-sky-600">One X</span><br />
...@@ -48,7 +49,7 @@ ...@@ -48,7 +49,7 @@
<div class="bp-grid"> <div class="bp-grid">
<ng-container *ngFor="let m of hrmModules"> <ng-container *ngFor="let m of hrmModules">
<div class="module-card" routerLink="/ess/employee-self-service"> <div class="module-card" (click)="goToWebsite('https://www.myhr.co.th/')">
<img [src]="m.icon" [alt]="m.title + ' icon'" class="module-img" /> <img [src]="m.icon" [alt]="m.title + ' icon'" class="module-img" />
<p class="module-label"> <p class="module-label">
<span class="font-semibold text-sky-600">One X</span><br /> <span class="font-semibold text-sky-600">One X</span><br />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment