Skip to content

Inspector icon setting not respected #918

Open
@cleverplatypus

Description

@cleverplatypus
vue v3.5.17
vuetools v7.7.7

I'm creating a devtool plugin and I'm trying to set the icon but whatever I put i the icon property, devtools shows the default icon (i-carbon-bring-forward)

api.addInspector({
   id: 'routable-inspector',
   label: 'Routable Objects',
   icon: 'direction', // <--- ignored
});

This code from pinia's plugin does the same but it seems to work. (Just to clarify, I tried the same icon name as pinia to no avail)

The vue component that takes care of the icon afaik is this one.

I deduced it from the fact that that's the only place where i-carbon-bring-forward is referenced in the project.

According to that component's logic one should be able to use a url to an svg, a custom icon or it would default to i-carbon-bring-forward

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions