create-app: import catalogEntityCreatePermission from /alpha
Signed-off-by: Mike Lewis <mtlewis@users.noreply.github.com>
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
---
|
||||
'@backstage/create-app': patch
|
||||
---
|
||||
|
||||
Update import location of catalogEntityCreatePermission.
|
||||
|
||||
To apply this change to an existing app, make the following change to `packages/app/src/App.tsx`:
|
||||
|
||||
```diff
|
||||
-import { catalogEntityCreatePermission } from '@backstage/plugin-catalog-common';
|
||||
+import { catalogEntityCreatePermission } from '@backstage/plugin-catalog-common/alpha';
|
||||
```
|
||||
@@ -30,7 +30,7 @@ import { createApp } from '@backstage/app-defaults';
|
||||
import { FlatRoutes } from '@backstage/core-app-api';
|
||||
import { CatalogGraphPage } from '@backstage/plugin-catalog-graph';
|
||||
import { PermissionedRoute } from '@backstage/plugin-permission-react';
|
||||
import { catalogEntityCreatePermission } from '@backstage/plugin-catalog-common';
|
||||
import { catalogEntityCreatePermission } from '@backstage/plugin-catalog-common/alpha';
|
||||
|
||||
const app = createApp({
|
||||
apis,
|
||||
|
||||
Reference in New Issue
Block a user