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