From 773b821a7948364c82969da81224bb85fd5cb6e3 Mon Sep 17 00:00:00 2001 From: ilior <78041027+itailiors@users.noreply.github.com> Date: Fri, 13 Dec 2024 17:34:35 +0200 Subject: [PATCH] fix for issue 166, where you cannot create more than 15 projects. (#203) --- src/Angor/Client/Pages/Founder.razor | 30 ++++++++++++++++++++-------- 1 file changed, 22 insertions(+), 8 deletions(-) diff --git a/src/Angor/Client/Pages/Founder.razor b/src/Angor/Client/Pages/Founder.razor index fb2b9fde..0d21ba15 100644 --- a/src/Angor/Client/Pages/Founder.razor +++ b/src/Angor/Client/Pages/Founder.razor @@ -34,14 +34,19 @@ - +
+ +

@@ -224,5 +229,14 @@ NavigationManager.NavigateTo("/create"); } + private string GetCreateButtonTooltip() + { + if (founderProjects.Count >= 15) + return "You have reached the maximum number of projects. Please manage your existing projects."; + if (scanningForProjects) + return "Scanning in progress..."; + return "Create a new project."; + } + } \ No newline at end of file