From 442b2ce0ccf2b0bcffadff940c18bf89d07036d5 Mon Sep 17 00:00:00 2001 From: glax Date: Sun, 20 Oct 2024 02:09:03 +0200 Subject: [PATCH] IMange export the ReleaseStatusFromNumber function --- Website/modules/interfaces/IManga.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Website/modules/interfaces/IManga.tsx b/Website/modules/interfaces/IManga.tsx index a5aedb1..469220b 100644 --- a/Website/modules/interfaces/IManga.tsx +++ b/Website/modules/interfaces/IManga.tsx @@ -29,7 +29,7 @@ export default interface IManga{ "mangaConnector": IMangaConnector } -function ReleaseStatusFromNumber(n: number): string { +export function ReleaseStatusFromNumber(n: number): string { switch(n) { case 0: return "Ongoing"; case 1: return "Completed";