Publish Message

Topics

@if (loading() && topics().length === 0) {
} @else if (topics().length === 0) {
No topics yet. Publish a message to create one.
} @else {
@for (topic of topics(); track topic.name) {
{{ topic.name }}
{{ topic.message_count }} messages @if (topic.last_message_at) { {{ nsToDate(topic.last_message_at) | date:'HH:mm:ss' }} }
}
}
@if (selectedTopic(); as topic) {
Subscriptions: {{ topic }} {{ subscriptions().length }}
@if (subscriptions().length === 0) {
No subscriptions for this topic.
} @else {
@for (sub of subscriptions(); track sub.id) { }
IDEndpointStatus
{{ sub.id.substring(0, 12) }}... {{ sub.endpoint }} @if (sub.active) { Active } @else { Inactive }
}
}