pwa-builder / PWABuilder

The simplest way to create progressive web apps across platforms and devices. Start here. This repo is home to several projects in the PWABuilder family of tools.
https://docs.pwabuilder.com
Other
2.72k stars 280 forks source link

[BUG] Removing all categories doesn't properly update manifest. #4610

Closed zateutsch closed 8 months ago

zateutsch commented 8 months ago

What happened?

Adding categories and then removing them all doesn't properly update manifest:

image And then: image

How do we reproduce the behavior?

  1. Open manifest editor.
  2. Add categories.
  3. Remove categories.
  4. Last removed category still shows in the code editor.

What do you expect to happen?

Categories array is removed from code editor view.

What environment were you using?

OS: Windows 11 Browser: Edge

Additional context

Related to #4172.

I'll take care of this.