Hide "Navigation" label when comparing first and latest revision

Created on 20 January 2021, over 3 years ago
Updated 21 May 2024, 25 days ago

Problem/Motivation

When you have more than 2 revisions and you use diff to compare first and latest one, there are no navigation links. But Navigation label is still displaying.

Steps to reproduce

  • Create node and edit it twice (you have to have at least 3 revisions)
  • Compare first and latest revisions

Navigation label will display, but there are no navigation links

Proposed resolution

Hide Navigation label if there is no left and right navigation links.

🐛 Bug report
Status

Needs work

Version

1.0

Component

User interface

Created by

🇵🇱Poland gugalamaciek

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024