Fix action ordering

This commit is contained in:
dominik-zeglen 2019-11-22 17:07:16 +01:00
parent 340e00f030
commit ebf386dfb5

View file

@ -66,7 +66,7 @@ const Navigator: React.FC = () => {
getItemProps={getItemProps} getItemProps={getItemProps}
highlightedIndex={highlightedIndex} highlightedIndex={highlightedIndex}
items={getViews(actions)} items={getViews(actions)}
offset={getActions(actions).length} offset={0}
/> />
)} )}
{hasActions(actions) && ( {hasActions(actions) && (
@ -78,7 +78,7 @@ const Navigator: React.FC = () => {
getItemProps={getItemProps} getItemProps={getItemProps}
highlightedIndex={highlightedIndex} highlightedIndex={highlightedIndex}
items={getActions(actions)} items={getActions(actions)}
offset={0} offset={getViews(actions).length}
/> />
)} )}
</div> </div>