Prechádzať zdrojové kódy

fix(admin-ui): Fix routerLink to the order overview (#2235)

the link is not working at the moment, go to the order detail page.
oidt 2 rokov pred
rodič
commit
cb37b3e0dd

+ 1 - 1
packages/admin-ui/src/lib/customer/src/components/customer-detail/customer-detail.component.html

@@ -182,7 +182,7 @@
                     </vdr-dt2-column>
                     <vdr-dt2-column [heading]="'common.code' | translate" [optional]="false">
                         <ng-template let-order="item">
-                            <a class="button-ghost" [routerLink]="['./', order.id]"
+                            <a class="button-ghost" [routerLink]="['/orders', order.id]"
                                 ><span>{{ order.code }}</span>
                                 <clr-icon shape="arrow right"></clr-icon>
                             </a>