mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
Upgrade RxJS to 7 (#129087)
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This commit is contained in:
parent
5ee7c3d25a
commit
9d5aca591b
260 changed files with 11471 additions and 16589 deletions
|
@ -5,7 +5,7 @@
|
|||
* 2.0.
|
||||
*/
|
||||
|
||||
import { first } from 'rxjs/operators';
|
||||
import { firstValueFrom } from 'rxjs';
|
||||
import { i18n } from '@kbn/i18n';
|
||||
import { Plugin, CoreSetup } from 'src/core/public';
|
||||
|
||||
|
@ -52,7 +52,7 @@ export class SearchProfilerUIPlugin implements Plugin<void, void, AppPublicPlugi
|
|||
const { notifications, i18n: i18nDep } = coreStart;
|
||||
const { renderApp } = await import('./application');
|
||||
|
||||
const license = await licensing.license$.pipe(first()).toPromise();
|
||||
const license = await firstValueFrom(licensing.license$);
|
||||
const initialLicenseStatus = checkLicenseStatus(license);
|
||||
|
||||
return renderApp({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue