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

Replace previewState with import VIEW_MODE_STATES #311

Open
sabina-talipova opened this issue Oct 19, 2023 · 0 comments
Open

Replace previewState with import VIEW_MODE_STATES #311

sabina-talipova opened this issue Oct 19, 2023 · 0 comments
Labels
affects/v5 type/enhancement New feature or request
Milestone

Comments

@sabina-talipova
Copy link
Contributor

sabina-talipova commented Oct 19, 2023

Description

  • Replace previewState with import { VIEW_MODE_STATES } from 'state/viewMode/ViewModeStates' in HistoryViewerVersionDetail and HistoryViewer Components
  • If that's not already being added via webpack externals, add it.

See:

@GuySartorelli GuySartorelli changed the title TODO: Replace previewState with import VIEW_MODE_STATES Replace previewState with import VIEW_MODE_STATES Oct 25, 2023
@GuySartorelli GuySartorelli added this to the Silverstripe CMS 6 milestone Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects/v5 type/enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants