mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
Merge pull request #2313 from appwrite/fix-project-count-grammar
fix: project-count-grammar
This commit is contained in:
1 file changed
+3
-2
@@ -139,8 +139,9 @@
|
||||
|
||||
{#if isCloud && $currentPlan?.projects && $currentPlan?.projects > 0 && data.organization.projects.length > 0 && $canWriteProjects && (projectsToArchive.length > 0 || data.projects.total > $currentPlan.projects)}
|
||||
{@const difference = projectsToArchive.length}
|
||||
{@const messagePrefix = difference > 1 ? `${difference} projects` : `${difference} project`}
|
||||
<Alert.Inline title={`${messagePrefix} are archived`}>
|
||||
{@const messagePrefix =
|
||||
difference !== 1 ? `${difference} projects are` : `${difference} project is`}
|
||||
<Alert.Inline title={`${messagePrefix} archived`}>
|
||||
<Typography.Text>Upgrade your plan to restore archived projects</Typography.Text>
|
||||
<svelte:fragment slot="actions">
|
||||
<Button
|
||||
|
||||
Reference in new issue
Block a user