fix subscribers screen

This commit is contained in:
Harsh Mahajan
2025-09-30 19:30:57 +05:30
parent 13c68f00e8
commit a41cfd8958
2 changed files with 3 additions and 5 deletions
@@ -71,9 +71,7 @@
await Promise.all(promises);
addNotification({
type: 'success',
message: `Added ${targetIds.length} subscriber${
targetIds.length > 1 ? 's' : ''
} to topic`
message: `${targetIds.length} subscriber${targetIds.length !== 1 ? 's' : ''} have been added`
});
trackEvent(Submit.MessagingTopicSubscriberAdd);
await invalidate(Dependencies.MESSAGING_TOPIC_SUBSCRIBERS);
@@ -146,7 +144,7 @@
href="https://appwrite.io/docs/products/messaging/topics#subscribe-targets-to-topics"
target="_blank"
rel="noopener noreferrer"
class="link">Learn more about subscribers</a
class="link">Learn more</a
>.
</p>
</svelte:fragment>
@@ -216,7 +216,7 @@
<Badge variant="secondary" content={selectedUsers.toString()} />
<span>Users selected</span>
</Layout.Stack>
<Button submit disabled={!hasSelection}>Add</Button>
<Button submit disabled={!hasSelection}>Create</Button>
</Layout.Stack>
</svelte:fragment>
</Modal>