Skip to content

Issue: Counts on dashboard tabs are wrong and/or invisible until clicked #315

@davidsneighbour

Description

@davidsneighbour

Describe the bug
The count of "published" and "draft" seems to be the count of total posts. Also, it would be nice to see the count without the tab being active:

To Reproduce
Steps to reproduce the behavior:

  1. Clone git@github.com:davidsneighbour/kollitsch.de.git
  2. start VSCode and see the counts.

Expected behavior

I would expect the tabs to show something like

"All Articles (33)" "Published (30)" "Drafts (3)"

Screenshots

20220408-20:48:07-Selection-001

20220408-20:48:18-Selection-001

20220408-20:48:35-Selection-001

VSCode:

  • Version: 1.66.1
  • Commit: 8dfae7a5cd50421d10cd99cb873990460525a898
  • Date: 2022-04-06T14:51:26.173Z
  • Electron: 17.2.0
  • Chromium: 98.0.4758.109
  • Node.js: 16.13.0
  • V8: 9.8.177.11-electron.0
  • OS: Linux x64 5.13.0-39-generic
  • Front Matter: v7.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions