mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
fix subscribers screen
This commit is contained in:
+2
-4
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user