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

Fix Product Not Found infinite spinner #1725

Merged
merged 10 commits into from
Jan 19, 2017
Merged

Fix Product Not Found infinite spinner #1725

merged 10 commits into from
Jan 19, 2017

Conversation

kieckhafer
Copy link
Member

Fixes #1630

PDP was displaying an infinite spinner if there was no product at the URL. This fix converts our old Product Not Found page to a React Component and displays when it should.

<TranslationProvider>
<div className="container-fluid-sm">
<div className="empty-view-message">
<i className="fa fa-barcode"></i>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

must self close if empty <i className="fa fa-barcode" />

Copy link
Collaborator

@brent-hoover brent-hoover left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and works well, just one little thing with import order

import { SocialContainer, VariantListContainer } from "./";
import { MediaGalleryContainer } from "/imports/plugins/core/ui/client/containers";
import { DragDropProvider, TranslationProvider } from "/imports/plugins/core/ui/client/providers";
import { StyleRoot } from "radium";
import { isEmpty } from "lodash";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this import go first?

@brent-hoover brent-hoover merged commit e4a0fbb into development Jan 19, 2017
@brent-hoover brent-hoover deleted the ek-issue1630 branch January 19, 2017 00:00
@kieckhafer kieckhafer mentioned this pull request Feb 1, 2017
@mikemurray mikemurray mentioned this pull request Feb 16, 2017
@kieckhafer kieckhafer mentioned this pull request Feb 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants