Skip to content

Commit 769c481

Browse files
MaxNumeriquegithub-actions[bot]
authored andcommitted
Apply prepare changes
1 parent 0802579 commit 769c481

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.oxlintrc.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,12 @@
2828
{
2929
"files": ["**/components/*"],
3030
"rules": {
31-
"unicorn/filename-case": "PascalCase"
31+
"unicorn/filename-case": [
32+
"error",
33+
{
34+
"case": "PascalCase"
35+
}
36+
]
3237
}
3338
}
3439
]

internal_stores/model/blocks.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,11 @@ export function useModelBlocksStyle() {
8282
function applyModelBlocksStyle(id) {
8383
const style = dataStyleStore.getStyle(id).blocks
8484
const block_ids = dataBaseStore.getBlocksUuids(id)
85-
85+
8686
if (!block_ids || block_ids.length === 0) {
8787
return Promise.resolve()
8888
}
89-
89+
9090
const promises = []
9191
if (typeof style?.visibility === "boolean") {
9292
promises.push(setModelBlocksVisibility(id, block_ids, style.visibility))

internal_stores/model/surfaces.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@ export function useModelSurfacesStyle() {
8383

8484
const promises = []
8585
if (typeof style?.visibility === "boolean") {
86-
promises.push(setModelSurfacesVisibility(id, surface_ids, style.visibility))
86+
promises.push(
87+
setModelSurfacesVisibility(id, surface_ids, style.visibility),
88+
)
8789
}
8890
if (style?.color) {
8991
promises.push(setModelSurfacesColor(id, surface_ids, style.color))

0 commit comments

Comments
 (0)