Skip to content
This repository has been archived by the owner on Apr 18, 2024. It is now read-only.

Commit

Permalink
fixing typeos
Browse files Browse the repository at this point in the history
  • Loading branch information
yyassi-heartex committed Jul 19, 2023
1 parent 0e1ed20 commit 985c530
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/DataManager/Toolbar/ActionsButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const ActionsButton = injector(observer(({ store, size, hasSelected, ...r
mod={{
hasSeperator: isDeleteAction,
hasSubMenu: action.children?.length > 0,
isSeperator: action.isSeperator,
isSeparator: action.isSeparator,
isTitle: action.isTitle,
danger: isDeleteAction,
}}
Expand Down Expand Up @@ -127,7 +127,7 @@ export const ActionsButton = injector(observer(({ store, size, hasSelected, ...r
onClick={() => {
invokeAction(action, isDeleteAction);
}}
className={`actionButton${action.isSeperator ? "_isSeperator" : (action.isTitle ? "_isTitle" : "")}`}
className={`actionButton${action.isSeparator ? "_isSeparator" : (action.isTitle ? "_isTitle" : "")}`}
icon={isDeleteAction && <FaTrash />}
>
{action.title}
Expand Down
4 changes: 2 additions & 2 deletions src/components/DataManager/Toolbar/ActionsButton.styl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
&:hover
background-color transparent !important
color #096DD9 !important
&_isSeperator
&_isSeparator
cursor initial
height 1px
background-color rgba(137, 128, 152, 0.12) !important
Expand Down Expand Up @@ -95,7 +95,7 @@
cursor default
&:hover
background transparent
&_isSeperator
&_isSeparator
height 1px
padding 0
&.menu__item
Expand Down
2 changes: 1 addition & 1 deletion src/stores/Action.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const Action = types.model("Action", {
...(isFFLOPSE3 ? {
children: types.optional(types.array(types.late(() => Action)), []),
callback: types.maybeNull(CustomCalback),
isSeperator: types.optional(types.boolean, false),
isSeparator: types.optional(types.boolean, false),
isTitle: types.optional(types.boolean, false),
newStyle: types.optional(types.boolean, false),
} : {}),
Expand Down

0 comments on commit 985c530

Please sign in to comment.