mirror of
https://github.com/appwrite/console.git
synced 2026-11-18 20:47:21 +00:00
fix subscribers screen
This commit is contained in:
1 parent
13c68f00e8
commit
a41cfd8958
2 files changed
+3
-5
No files matched your search
+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