Skip to content

Commit

Permalink
fix: wrong typo for analytics nudge entry
Browse files Browse the repository at this point in the history
  • Loading branch information
carere committed Dec 20, 2024
1 parent 23fea7e commit af58a79
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions packages/app-builder/src/components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ export const sidebarLink = cva(
true: 'bg-purple-10 text-purple-100',
false: 'text-grey-100 hover:bg-purple-10 hover:text-purple-100',
},
state: {
disabled: 'text-grey-25 hover:bg-transparent hover:text-grey-25',
},
},
defaultVariants: {
isActive: false,
Expand Down
2 changes: 1 addition & 1 deletion packages/app-builder/src/repositories/LicenseRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const makeGetLicenseRepository = () => {
// return adaptLicenseEntitlements(licenseEntitlementsDto);
return Promise.resolve({
sso: false,
ruleSnoozes: false,
ruleSnoozes: true,
userRoles: false,
webhooks: false,
analytics: false,
Expand Down
2 changes: 1 addition & 1 deletion packages/app-builder/src/routes/_builder+/_layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export default function Builder() {
) : (
<div className="text-grey-25 relative flex gap-2 p-2">
<Icon icon="analytics" className="size-6 shrink-0" />
<span className="line-clamp-1 text-start opacity-0 transition-opacity group-aria-expanded/nav:opacity-100">
<span className="text-s line-clamp-1 text-start font-medium opacity-0 transition-opacity group-aria-expanded/nav:opacity-100">
{t('navigation:analytics')}
</span>
<Nudge
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ export const handle = {

export async function loader({ request }: LoaderFunctionArgs) {
const { authService } = serverServices;
const { user, entitlements } = await authService.isAuthenticated(request, {
const { user } = await authService.isAuthenticated(request, {
failureRedirect: getRoute('/sign-in'),
});

const settings = getSettings(user, entitlements);
const settings = getSettings(user);
const firstSettings = settings[0];

if (firstSettings) {
Expand Down

0 comments on commit af58a79

Please sign in to comment.