etkachev / nx-webstorm

Plugin for Webstorm that strives to function the same as Nx Console for VsCode. UI for Nx
MIT License
35 stars 4 forks source link

Action bar disappeared if there's no option for a workspace-schematic #73

Closed gogoout closed 3 years ago

gogoout commented 3 years ago

First of all, thanks for the great plugin.

Current Behavior

For a workspace-schematic with options, it shows the ui correctly image But for the one without options, the action bar disappeared image

How to Reproduce

Steps to reproduce the behavior:

  1. create a workspace-schematic
  2. replace the schema.json with something like this
    {
    "$schema": "http://json-schema.org/schema",
    "id": "YOUR-SCHEMA-NAME",
    "type": "object"
    }
  3. run the schematic in plugin

Expected Behavior

Action bar should appear just as standard schematics without options image

Desktop (please complete the following information):

Additional context

Add any other context about the problem here.

gogoout commented 3 years ago

On a bit research I found that adding an empty properties fix the problems

etkachev commented 3 years ago

@gogoout Ah ok. Thanks for the heads up. I will keep an eye on it, if it becomes more of a problem.