File tree 2 files changed +8
-10
lines changed
2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change @@ -212,7 +212,8 @@ export default {
212
212
this .resetPrintImage = false
213
213
if (config) {
214
214
this .printImage = config .print_image
215
- this .showTagCloudInRecipeList = this .$store .state .localSettings .showTagCloudInRecipeList
215
+ this .showTagCloudInRecipeList =
216
+ this .$store .state .localSettings .showTagCloudInRecipeList
216
217
this .updateInterval = config .update_interval
217
218
this .recipeFolder = config .folder
218
219
} else {
Original file line number Diff line number Diff line change @@ -355,9 +355,8 @@ export default {
355
355
}
356
356
357
357
if (this .$store .state .recipe .cookTime ) {
358
- const cookT = this .$store .state .recipe .cookTime .match (
359
- / PT(\d +? )H(\d +? )M/
360
- )
358
+ const cookT =
359
+ this .$store .state .recipe .cookTime .match (/ PT(\d +? )H(\d +? )M/ )
361
360
const hh = parseInt (cookT[1 ], 10 )
362
361
const mm = parseInt (cookT[2 ], 10 )
363
362
if (hh > 0 || mm > 0 ) {
@@ -366,9 +365,8 @@ export default {
366
365
}
367
366
368
367
if (this .$store .state .recipe .prepTime ) {
369
- const prepT = this .$store .state .recipe .prepTime .match (
370
- / PT(\d +? )H(\d +? )M/
371
- )
368
+ const prepT =
369
+ this .$store .state .recipe .prepTime .match (/ PT(\d +? )H(\d +? )M/ )
372
370
const hh = parseInt (prepT[1 ], 10 )
373
371
const mm = parseInt (prepT[2 ], 10 )
374
372
if (hh > 0 || mm > 0 ) {
@@ -377,9 +375,8 @@ export default {
377
375
}
378
376
379
377
if (this .$store .state .recipe .totalTime ) {
380
- const totalT = this .$store .state .recipe .totalTime .match (
381
- / PT(\d +? )H(\d +? )M/
382
- )
378
+ const totalT =
379
+ this .$store .state .recipe .totalTime .match (/ PT(\d +? )H(\d +? )M/ )
383
380
const hh = parseInt (totalT[1 ], 10 )
384
381
const mm = parseInt (totalT[2 ], 10 )
385
382
if (hh > 0 || mm > 0 ) {
You can’t perform that action at this time.
0 commit comments