AppSettings settings = satisfiedBOM.getOne(appSettings).get().getComponent();
if (!RestxContext.Modes.RECORDING.equals(settings.mode())) {
return new EmptyBox<>(ADMIN_PAGE_NAME);
}
return BoundlessComponentBox.FACTORY.of(new NamedComponent<>(ADMIN_PAGE_NAME,
new AdminPage("/@/ui/recorder/", "Recorder")));
}
}
);
}