feat(ui): simplify fleet cards by moving edit/delete into detail
Hide instance IDs and config/delete controls on overview cards; keep service/system restart only, with edit still available from detail.
This commit is contained in:
@@ -60,6 +60,9 @@ describe('InstanceDetail', () => {
|
||||
expect(screen.getByText('已认证')).toBeTruthy();
|
||||
expect(screen.getByText('数据最新')).toBeTruthy();
|
||||
expect(links.map((link) => link.textContent)).toEqual(['仪表盘', '短信']);
|
||||
expect(screen.getByRole('link', { name: '编辑实例' }).getAttribute('href')).toBe(
|
||||
'/settings/instances/owner',
|
||||
);
|
||||
});
|
||||
|
||||
it('uses the business titles for both primary pages', () => {
|
||||
|
||||
Reference in New Issue
Block a user