halo-sigs / plugin-links

Halo 2.0 的链接管理插件
https://www.halo.run/store/apps/app-hfbQg
GNU General Public License v3.0
30 stars 7 forks source link

fix: display issue when no groups are present #74

Closed LIlGG closed 3 months ago

LIlGG commented 3 months ago

What type of PR is this?

/kind bug

What this PR does / why we need it:

当目前链接没有分组时,将不会显示移动按钮。

How to test it?

测试不存在分组以及存在分组时,移动按钮是否显示。

Which issue(s) this PR fixes:

Fixes #73

Does this PR introduce a user-facing change?

解决没有分组时点击移动会出现空白项的问题
f2c-ci-robot[bot] commented 3 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ruibaby

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/halo-sigs/plugin-links/blob/main/OWNERS)~~ [ruibaby] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment