From 72935ba3f59fa8b5399207937f28cc686e5239f6 Mon Sep 17 00:00:00 2001 From: legonzaur Date: Sun, 29 Dec 2024 20:40:02 +0100 Subject: [PATCH] feat : frontend word edition --- dto/wordresponse.dto.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dto/wordresponse.dto.ts b/dto/wordresponse.dto.ts index 27bd5f1..de51748 100644 --- a/dto/wordresponse.dto.ts +++ b/dto/wordresponse.dto.ts @@ -14,6 +14,8 @@ export class WordResponseDTO { enabled: boolean; + loading?: boolean = false + toJSON() { return { ...this } // here I make a POJO's copy of the class instance }