feat: updating name for default swappable refs
Signed-off-by: benjdlambert <ben@blam.sh>
This commit is contained in:
@@ -28,7 +28,7 @@ import {
|
||||
import Button from '@material-ui/core/Button';
|
||||
|
||||
export const Progress = SwappableComponentBlueprint.make({
|
||||
name: 'core.components.progress',
|
||||
name: 'core-progress',
|
||||
params: define =>
|
||||
define({
|
||||
component: SwappableProgress,
|
||||
@@ -37,7 +37,7 @@ export const Progress = SwappableComponentBlueprint.make({
|
||||
});
|
||||
|
||||
export const NotFoundErrorPage = SwappableComponentBlueprint.make({
|
||||
name: 'core.components.notFoundErrorPage',
|
||||
name: 'core-not-found-error-page',
|
||||
params: define =>
|
||||
define({
|
||||
component: SwappableNotFoundErrorPage,
|
||||
@@ -46,8 +46,8 @@ export const NotFoundErrorPage = SwappableComponentBlueprint.make({
|
||||
}),
|
||||
});
|
||||
|
||||
export const ErrorBoundary = SwappableComponentBlueprint.make({
|
||||
name: 'core.components.errorBoundary',
|
||||
export const ErrorDisplay = SwappableComponentBlueprint.make({
|
||||
name: 'core-error-display',
|
||||
params: define =>
|
||||
define({
|
||||
component: SwappableErrorDisplay,
|
||||
|
||||
@@ -31,4 +31,4 @@ export {
|
||||
oauthRequestDialogAppRootElement,
|
||||
alertDisplayAppRootElement,
|
||||
} from './elements';
|
||||
export { Progress, NotFoundErrorPage, ErrorBoundary } from './components';
|
||||
export { Progress, NotFoundErrorPage, ErrorDisplay } from './components';
|
||||
|
||||
@@ -35,7 +35,7 @@ import {
|
||||
dialogDisplayAppRootElement,
|
||||
Progress,
|
||||
NotFoundErrorPage,
|
||||
ErrorBoundary,
|
||||
ErrorDisplay,
|
||||
LegacyComponentsApi,
|
||||
} from './extensions';
|
||||
import { apis } from './defaultApis';
|
||||
@@ -65,7 +65,7 @@ export const appPlugin = createFrontendPlugin({
|
||||
dialogDisplayAppRootElement,
|
||||
Progress,
|
||||
NotFoundErrorPage,
|
||||
ErrorBoundary,
|
||||
ErrorDisplay,
|
||||
LegacyComponentsApi,
|
||||
],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user