mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-02 01:17:58 +02:00
https://linear.app/unleash/issue/2-2354/new-in-unleash-section-in-sidebar Add a "New in Unleash" section in the side bar and use it to announce signals and actions.  Inside signals page we're also including a feedback button to try to collect some insights.  --------- Co-authored-by: Nuno Góis <github@nunogois.com>
14 lines
438 B
TypeScript
14 lines
438 B
TypeScript
import useUiConfig from 'hooks/api/getters/useUiConfig/useUiConfig';
|
|
import { PremiumFeature } from 'component/common/PremiumFeature/PremiumFeature';
|
|
import { SignalEndpointsTable } from './SignalEndpointsTable/SignalEndpointsTable';
|
|
|
|
export const Signals = () => {
|
|
const { isEnterprise } = useUiConfig();
|
|
|
|
if (!isEnterprise()) {
|
|
return <PremiumFeature feature='signals' />;
|
|
}
|
|
|
|
return <SignalEndpointsTable />;
|
|
};
|