Skip to content

Commit

Permalink
Use disable theme for neo
Browse files Browse the repository at this point in the history
  • Loading branch information
ivy-lli committed Dec 4, 2024
1 parent 3286e13 commit 612a996
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 23 deletions.
4 changes: 2 additions & 2 deletions integrations/standalone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"dependencies": {
"@axonivy/variable-editor": "*",
"@axonivy/variable-editor-protocol": "*",
"@axonivy/ui-components": "~12.0.1-next.384",
"@axonivy/ui-icons": "~12.0.1-next.384",
"@axonivy/ui-components": "~12.0.1-next.390",
"@axonivy/ui-icons": "~12.0.1-next.390",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
Expand Down
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions packages/variable-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"types": "lib/index.d.ts",
"main": "lib/editor.js",
"dependencies": {
"@axonivy/jsonrpc": "~12.0.1-next.384",
"@axonivy/ui-components": "~12.0.1-next.384",
"@axonivy/ui-icons": "~12.0.1-next.384",
"@axonivy/variable-editor-protocol": "~12.0.1-next",
"@axonivy/jsonrpc": "~12.0.1-next.390",
"@axonivy/ui-components": "~12.0.1-next.390",
"@axonivy/ui-icons": "~12.0.1-next.390",
"@axonivy/variable-editor-protocol": "12.0.1-next",
"@tanstack/react-query": "5.32.1",
"@tanstack/react-query-devtools": "5.32.1",
"react": "^18.3.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ type VariablesMasterToolbarProps = {

export const VariablesMasterToolbar = ({ title }: VariablesMasterToolbarProps) => {
const { detail, setDetail } = useAppContext();
const { theme, setTheme } = useTheme();
const { theme, setTheme, disabled } = useTheme();

return (
<Toolbar className='master-toolbar'>
<ToolbarTitle>{title}</ToolbarTitle>
<Flex gap={1}>
{theme !== 'system' && (
{!disabled && (
<Popover>
<PopoverTrigger asChild>
<Button icon={IvyIcons.Settings} size='large' title='Settings' aria-label='Settings' />
Expand Down

0 comments on commit 612a996

Please sign in to comment.