Minor update to state

This commit is contained in:
Steve Ruiz 2021-07-07 10:51:19 +01:00
parent be359e6406
commit ee48a7afb8
5 changed files with 15 additions and 20 deletions

View file

@ -4,7 +4,6 @@ about: Create a report to help us improve
title: '' title: ''
labels: '' labels: ''
assignees: '' assignees: ''
--- ---
**Describe the bug** **Describe the bug**
@ -12,6 +11,7 @@ A clear and concise description of what the bug is.
**To Reproduce** **To Reproduce**
Steps to reproduce the behavior: Steps to reproduce the behavior:
1. Go to '...' 1. Go to '...'
2. Click on '....' 2. Click on '....'
3. Scroll down to '....' 3. Scroll down to '....'
@ -24,15 +24,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem. If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):** **Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari] - OS: [e.g. iOS]
- Version [e.g. 22] - Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):** **Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1] - Device: [e.g. iPhone6]
- Browser [e.g. stock browser, safari] - OS: [e.g. iOS8.1]
- Version [e.g. 22] - Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Additional context** **Additional context**
Add any other context about the problem here. Add any other context about the problem here.

View file

@ -1,10 +1,7 @@
--- ---
name: Documentation name: Documentation
about: Writing and other documentation. about: Writing and other documentation.
title: "[documentation] Content" title: '[documentation] Content'
labels: documentation labels: documentation
assignees: '' assignees: ''
--- ---

View file

@ -1,10 +1,7 @@
--- ---
name: Feature name: Feature
about: Begin discussion of a new feature. about: Begin discussion of a new feature.
title: "[feature] Feature or improvement" title: '[feature] Feature or improvement'
labels: enhancement labels: enhancement
assignees: '' assignees: ''
--- ---

View file

@ -1,10 +1,7 @@
--- ---
name: Testing name: Testing
about: Tests that need to be written. about: Tests that need to be written.
title: "[tests] Test" title: '[tests] Test'
labels: testing labels: testing
assignees: '' assignees: ''
--- ---

View file

@ -1288,6 +1288,8 @@ const state = createState({
inputs.reset() inputs.reset()
history.reset()
const newId = 'page1' const newId = 'page1'
data.currentPageId = newId data.currentPageId = newId