mirror of
https://github.com/status-im/consul.git
synced 2025-02-22 18:38:19 +00:00
Allow tabs to have tooltips
This commit is contained in:
parent
56d83c316e
commit
7162005a70
@ -50,15 +50,17 @@ import { hrefTo } from 'consul-ui/helpers/href-to';
|
||||
export class Tab {
|
||||
@tracked route;
|
||||
@tracked label;
|
||||
@tracked tooltip;
|
||||
@tracked currentRouteName;
|
||||
|
||||
constructor(opts) {
|
||||
const { currentRouteName, route, label, owner } = opts;
|
||||
const { currentRouteName, route, label, tooltip, owner } = opts;
|
||||
|
||||
this.currentRouteName = currentRouteName;
|
||||
this.owner = owner;
|
||||
this.route = route;
|
||||
this.label = label;
|
||||
this.tooltip = tooltip;
|
||||
}
|
||||
|
||||
get selected() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user