Skip to content

Commit 6da7ae8

Browse files
Update vue files with current style
Signed-off-by: Christian Wolf <[email protected]>
1 parent bc990e9 commit 6da7ae8

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

src/components/AppSettings.vue

+2-1
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,8 @@ export default {
212212
this.resetPrintImage = false
213213
if (config) {
214214
this.printImage = config.print_image
215-
this.showTagCloudInRecipeList = this.$store.state.localSettings.showTagCloudInRecipeList
215+
this.showTagCloudInRecipeList =
216+
this.$store.state.localSettings.showTagCloudInRecipeList
216217
this.updateInterval = config.update_interval
217218
this.recipeFolder = config.folder
218219
} else {

src/components/RecipeView.vue

+6-9
Original file line numberDiff line numberDiff line change
@@ -355,9 +355,8 @@ export default {
355355
}
356356
357357
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/)
361360
const hh = parseInt(cookT[1], 10)
362361
const mm = parseInt(cookT[2], 10)
363362
if (hh > 0 || mm > 0) {
@@ -366,9 +365,8 @@ export default {
366365
}
367366
368367
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/)
372370
const hh = parseInt(prepT[1], 10)
373371
const mm = parseInt(prepT[2], 10)
374372
if (hh > 0 || mm > 0) {
@@ -377,9 +375,8 @@ export default {
377375
}
378376
379377
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/)
383380
const hh = parseInt(totalT[1], 10)
384381
const mm = parseInt(totalT[2], 10)
385382
if (hh > 0 || mm > 0) {

0 commit comments

Comments
 (0)