@@ -102,12 +102,12 @@ export default class AppBarTop extends React.Component {
102102 }
103103 else if ( location . startsWith ( '/admin/product/' ) ) {
104104 title = title = messages . products_titleEdit ;
105- leftButton = < IconButton > < Link to = "/admin/products" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
105+ leftButton = < Link to = "/admin/products" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
106106 rightElements = < ProductHead /> ;
107107 }
108108 else if ( location === '/admin/products/categories' ) {
109109 title = messages . productCategories_title ;
110- leftButton = < IconButton > < Link to = "/admin/products" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
110+ leftButton = < Link to = "/admin/products" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
111111 if ( productCategoryName ) {
112112 title = title = messages . productCategories_titleEdit ; ;
113113 rightElements = < ProductCategoryHead />
@@ -128,7 +128,7 @@ export default class AppBarTop extends React.Component {
128128 }
129129 else if ( location === '/admin/customers/groups' ) {
130130 title = messages . customerGroups_title ;
131- leftButton = < IconButton > < Link to = "/admin/customers" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
131+ leftButton = < Link to = "/admin/customers" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
132132 if ( customerGroupName ) {
133133 title = title = messages . customerGroups_titleEdit ; ;
134134 rightElements = < CustomerGroupHead />
@@ -139,19 +139,19 @@ export default class AppBarTop extends React.Component {
139139 }
140140 else if ( location === '/admin/settings/email/smtp' ) {
141141 title = messages . settings_smtpSettings ;
142- leftButton = < IconButton > < Link to = "/admin/settings/email" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
142+ leftButton = < Link to = "/admin/settings/email" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
143143 }
144144 else if ( location === '/admin/settings/email/templates/order_confirmation' ) {
145145 title = messages . settings_orderConfirmation ;
146- leftButton = < IconButton > < Link to = "/admin/settings/email" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
146+ leftButton = < Link to = "/admin/settings/email" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
147147 }
148148 else if ( location === '/admin/settings/email/templates/customer_registration' ) {
149149 title = messages . settings_customerRegistration ;
150- leftButton = < IconButton > < Link to = "/admin/settings/email" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
150+ leftButton = < Link to = "/admin/settings/email" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
151151 }
152152 else if ( location === '/admin/settings/email/templates/customer_recovery' ) {
153153 title = messages . settings_customerRecovery ;
154- leftButton = < IconButton > < Link to = "/admin/settings/email" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
154+ leftButton = < Link to = "/admin/settings/email" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
155155 }
156156 else if ( location === '/admin/settings/theme' ) {
157157 title = messages . settings_themeSettings ;
@@ -161,23 +161,23 @@ export default class AppBarTop extends React.Component {
161161 }
162162 else if ( location === '/admin/settings/checkout/fields/email' ) {
163163 title = messages . email ;
164- leftButton = < IconButton > < Link to = "/admin/settings/checkout" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
164+ leftButton = < Link to = "/admin/settings/checkout" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
165165 }
166166 else if ( location === '/admin/settings/checkout/fields/mobile' ) {
167167 title = messages . mobile ;
168- leftButton = < IconButton > < Link to = "/admin/settings/checkout" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
168+ leftButton = < Link to = "/admin/settings/checkout" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
169169 }
170170 else if ( location === '/admin/settings/checkout/fields/country' ) {
171171 title = messages . country ;
172- leftButton = < IconButton > < Link to = "/admin/settings/checkout" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
172+ leftButton = < Link to = "/admin/settings/checkout" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
173173 }
174174 else if ( location === '/admin/settings/checkout/fields/state' ) {
175175 title = messages . state ;
176- leftButton = < IconButton > < Link to = "/admin/settings/checkout" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
176+ leftButton = < Link to = "/admin/settings/checkout" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
177177 }
178178 else if ( location === '/admin/settings/checkout/fields/city' ) {
179179 title = messages . city ;
180- leftButton = < IconButton > < Link to = "/admin/settings/checkout" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
180+ leftButton = < Link to = "/admin/settings/checkout" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
181181 }
182182 else if ( location === '/admin/settings/shipping' ) {
183183 title = messages . settings_shippingMethods ;
@@ -187,20 +187,20 @@ export default class AppBarTop extends React.Component {
187187 }
188188 else if ( location === '/admin/settings/shipping/add' ) {
189189 title = messages . settings_addShippingMethod ;
190- leftButton = < IconButton > < Link to = "/admin/settings/shipping" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
190+ leftButton = < Link to = "/admin/settings/shipping" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
191191 }
192192 else if ( location === '/admin/settings/payments/add' ) {
193193 title = messages . settings_addPaymentMethod ;
194- leftButton = < IconButton > < Link to = "/admin/settings/payments" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
194+ leftButton = < Link to = "/admin/settings/payments" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
195195 }
196196 else if ( location . startsWith ( '/admin/settings/shipping/' ) ) {
197197 title = messages . settings_editShippingMethod ;
198- leftButton = < IconButton > < Link to = "/admin/settings/shipping" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
198+ leftButton = < Link to = "/admin/settings/shipping" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
199199 rightElements = < ShippingMethodHead />
200200 }
201201 else if ( location . startsWith ( '/admin/settings/payments/' ) ) {
202202 title = messages . settings_editPaymentMethod ;
203- leftButton = < IconButton > < Link to = "/admin/settings/payments" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
203+ leftButton = < Link to = "/admin/settings/payments" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
204204 rightElements = < PaymentMethodHead />
205205 }
206206 else if ( location === '/admin/settings/general' || location === '/admin/settings' ) {
@@ -211,23 +211,23 @@ export default class AppBarTop extends React.Component {
211211 }
212212 else if ( location === '/admin/settings/pages/add' ) {
213213 title = messages . settings_addPage ;
214- leftButton = < IconButton > < Link to = "/admin/settings/pages" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
214+ leftButton = < Link to = "/admin/settings/pages" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
215215 }
216216 else if ( location . startsWith ( '/admin/settings/pages/' ) ) {
217217 title = messages . settings_editPage ;
218- leftButton = < IconButton > < Link to = "/admin/settings/pages" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
218+ leftButton = < Link to = "/admin/settings/pages" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
219219 rightElements = < PageHead />
220220 }
221221 else if ( location === '/admin/settings/tokens' ) {
222222 title = messages . settings_tokens ;
223223 }
224224 else if ( location === '/admin/settings/tokens/add' ) {
225225 title = messages . settings_addToken ;
226- leftButton = < IconButton > < Link to = "/admin/settings/tokens" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
226+ leftButton = < Link to = "/admin/settings/tokens" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
227227 }
228228 else if ( location . startsWith ( '/admin/settings/tokens/' ) ) {
229229 title = messages . settings_editToken ;
230- leftButton = < IconButton > < Link to = "/admin/settings/tokens" > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ Link > </ IconButton >
230+ leftButton = < Link to = "/admin/settings/tokens" > < IconButton > < FontIcon color = "#fff" className = "material-icons" > arrow_back</ FontIcon > </ IconButton > </ Link >
231231 }
232232
233233 return (
0 commit comments