diff --git a/api/v2/workspace_service.go b/api/v2/workspace_service.go index 61ea0ab..f42d0e9 100644 --- a/api/v2/workspace_service.go +++ b/api/v2/workspace_service.go @@ -121,10 +121,6 @@ func (s *WorkspaceService) UpdateWorkspaceSetting(ctx context.Context, request * return nil, status.Errorf(codes.Internal, "failed to update workspace setting: %v", err) } } else if path == "custom_style" { - if !s.LicenseService.IsFeatureEnabled(license.FeatureTypeCustomeStyle) { - return nil, status.Errorf(codes.PermissionDenied, "feature custom style is not available") - } - if _, err := s.Store.UpsertWorkspaceSetting(ctx, &storepb.WorkspaceSetting{ Key: storepb.WorkspaceSettingKey_WORKSPACE_SETTING_CUSTOM_STYLE, Value: &storepb.WorkspaceSetting_CustomStyle{ diff --git a/frontend/web/src/components/ShortcutCard.tsx b/frontend/web/src/components/ShortcutCard.tsx index 441d9e6..717eed1 100644 --- a/frontend/web/src/components/ShortcutCard.tsx +++ b/frontend/web/src/components/ShortcutCard.tsx @@ -93,14 +93,14 @@ const ShortcutView = (props: Props) => { return ( viewStore.setFilter({ tag: tag })} > #{tag} ); })} - {shortcut.tags.length === 0 && No tags} + {shortcut.tags.length === 0 && No tags}
{t("settings.workspace.custom-style")}