From ab998f7b6dffbe461d830d3696cb46491ad6afb0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 23 Feb 2018 14:36:16 +0100 Subject: Improve admin tables --- client/src/app/shared/misc/delete-button.component.html | 2 +- client/src/app/shared/misc/delete-button.component.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'client/src/app/shared/misc') diff --git a/client/src/app/shared/misc/delete-button.component.html b/client/src/app/shared/misc/delete-button.component.html index 3db483882..d49de294a 100644 --- a/client/src/app/shared/misc/delete-button.component.html +++ b/client/src/app/shared/misc/delete-button.component.html @@ -1,4 +1,4 @@ - Delete + {{ label }} diff --git a/client/src/app/shared/misc/delete-button.component.ts b/client/src/app/shared/misc/delete-button.component.ts index e04039f69..2ffd98212 100644 --- a/client/src/app/shared/misc/delete-button.component.ts +++ b/client/src/app/shared/misc/delete-button.component.ts @@ -1,4 +1,4 @@ -import { Component } from '@angular/core' +import { Component, Input } from '@angular/core' @Component({ selector: 'my-delete-button', @@ -7,4 +7,5 @@ import { Component } from '@angular/core' }) export class DeleteButtonComponent { + @Input() label = 'Delete' } -- cgit v1.2.3