From 50fa637a3532bfbdfc79b7385949d809f8d4cc4e Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Tue, 21 Jan 2025 11:12:34 +0100 Subject: [PATCH] refactor(dashboard): rename column and update button label --- src/app/dashboard/dashboard.component.html | 9 +++++---- src/app/dashboard/dashboard.component.ts | 2 +- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/app/dashboard/dashboard.component.html b/src/app/dashboard/dashboard.component.html index 6ab4fff..e47f465 100644 --- a/src/app/dashboard/dashboard.component.html +++ b/src/app/dashboard/dashboard.component.html @@ -15,7 +15,6 @@ ID {{element.id}} - @@ -32,9 +31,11 @@ - - Short Url - ndy + + Short link + + + diff --git a/src/app/dashboard/dashboard.component.ts b/src/app/dashboard/dashboard.component.ts index dbb31e0..20fce72 100644 --- a/src/app/dashboard/dashboard.component.ts +++ b/src/app/dashboard/dashboard.component.ts @@ -16,7 +16,7 @@ import { MatButtonModule } from '@angular/material/button'; }) export class DashboardComponent { public links: Link[] = []; - displayedColumns: string[] = ['id', 'name', 'link', 'symbol', 'actions']; + displayedColumns: string[] = ['id', 'name', 'link', 'shortLink', 'actions']; constructor(private linkService: LinkService, private router: Router) { };