mirror of
https://github.com/inventree/InvenTree.git
synced 2026-09-02 10:18:42 +00:00
[UI] Hover instance (#12038)
* Add new user setting * Implement hover-card for RenderInstance * Allow override when calling RenderInstance * Simplify * Add link icon * Adjust logic * Simplify logic * update playwright Ref: https://github.com/microsoft/playwright/issues/40998
This commit is contained in:
@@ -10,6 +10,7 @@ export interface ModelInformationInterface {
|
||||
url_detail?: string;
|
||||
api_endpoint: ApiEndpoints;
|
||||
admin_url?: string;
|
||||
pk_field?: string;
|
||||
supports_barcode?: boolean;
|
||||
icon: keyof InvenTreeIconType;
|
||||
}
|
||||
|
||||
@@ -15,6 +15,7 @@ export interface InstanceRenderInterface {
|
||||
link?: boolean;
|
||||
navigate?: any;
|
||||
showSecondary?: boolean;
|
||||
showHover?: boolean;
|
||||
extra?: Record<string, any>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user