Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New styles can't be named and styles in manage.html disappear #275

Closed
pabli24 opened this issue Dec 3, 2017 · 2 comments
Closed

New styles can't be named and styles in manage.html disappear #275

pabli24 opened this issue Dec 3, 2017 · 2 comments
Labels

Comments

@pabli24
Copy link
Contributor

pabli24 commented Dec 3, 2017

  • Browser: Google Chrome 62, Firefox 57
  • Operating System: Windows 10
  • Stylus version: 1.1.7.1
  • Screenshot:

Video showing the problem:
https://www.youtube.com/watch?v=WbjJeTBj4G8&feature=youtu.be

@tophf
Copy link
Member

tophf commented Dec 3, 2017

Sorry about that, I'm uploading a new version right now.
Fixed in f4677a7.

@tophf tophf closed this as completed Dec 3, 2017
@tophf tophf added the bug label Dec 3, 2017
@tophf
Copy link
Member

tophf commented Dec 3, 2017

While waiting for the updated version, you can fix the database manually:

  1. open style manager
  2. open devtools console Ctrl-Shift-J or Cmd-Option-J
  3. paste the following code and press Enter:
    BG.cachedStyles.list.forEach(style => !style.name && saveStyleSafe(Object.assign(style, {name: 'ID: ' + style.id})))
  4. wait a second and reload the page

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants