Skip to content

Hide lastest commit sha when no commit is available #26336

Closed
@TheZoker

Description

@TheZoker

Description

When I create a new repo without any commit, the Last indexed SHA field looks like this:
image

Just an empty button. I think the button should be hidden, if the content is not available.

Gitea Version

1.20.2

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Docker compose

Database

SQLite

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions