Right Click to Navigate History #3547
1 changed files with 1 additions and 0 deletions
|
@ -67,6 +67,7 @@ const NavigationButton = (props: Props) => {
|
||||||
}}
|
}}
|
||||||
icon={isBackward ? ICONS.ARROW_LEFT : ICONS.ARROW_RIGHT}
|
icon={isBackward ? ICONS.ARROW_LEFT : ICONS.ARROW_RIGHT}
|
||||||
iconSize={18}
|
iconSize={18}
|
||||||
|
disabled={slicedEntries.length === 0}
|
||||||
/>
|
/>
|
||||||
PR has been updated to disable button if no historical entries. PR has been updated to disable button if no historical entries.
Awesome! Awesome!
|
|||||||
{showHistory && <ul className={'header__navigaiton-dropdown'}>{slicedEntries.map(makeItem)}</ul>}
|
{showHistory && <ul className={'header__navigaiton-dropdown'}>{slicedEntries.map(makeItem)}</ul>}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue
Are you able to determine if we can go back here or not? If so, it would be great to disable the back button and give it some disabled style so it's easier to tell that you can't