Skip to content

Commit

Permalink
IKC-441 Notify users when no clusters defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Piotr Belke authored and Piotr Belke committed Dec 15, 2024
1 parent 14fc73b commit 9b2ebf2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@ export class BrokerBackendService implements BrokerService {
const params = new HttpParams().set('serverId', serverId);
return this.http.get<Brokers>(`/api/brokers`, {params});
}
return of({brokers: []})
return of({brokers: []});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {NotificationComponent} from '../notification/notification.component';
import {AuthService} from '@app/common-auth';
import {Router} from '@angular/router';
import {NotificationAction, NotificationModel, NotificationType} from '../notification.model';
import {MatSnackBar} from "@angular/material/snack-bar";
import {SnackBarComponent, SnackBarData} from "@app/common-utils";
import {MatSnackBar} from '@angular/material/snack-bar';
import {SnackBarComponent, SnackBarData} from '@app/common-utils';

@Component({
selector: 'app-notification-button',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class SchemaRegistryBackendService implements SchemaRegistryService {
const params = new HttpParams().set('topicNames', topics.join(','));
return this.httpClient.get<Schema[]>(`/api/schemas/${selectedServerId}`, {params});
}
return of([])
return of([]);
}

deleteSchema$(selectedServerId: string, subject: string, version: string): Observable<void> {
Expand Down

0 comments on commit 9b2ebf2

Please sign in to comment.