Skip to content

Commit e620998

Browse files
committed
chore: disabled OCL validator
1 parent 11df56e commit e620998

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

public/js/plugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ export const officialPlugins = [
168168
position: 'top',
169169
},
170170
{
171-
name: 'Validate using OCL',
171+
name: '[WIP] Validate OCL',
172172
src: '/src/validators/CompasValidateSchema.js',
173173
icon: 'rule_folder',
174174
default: true,

src/Hosting.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,8 @@ export function Hosting<
148148
)
149149
);
150150
},
151-
disabled: (): boolean => this.doc === null,
151+
disabled: (): boolean =>
152+
this.doc === null || plugin.name.includes('[WIP]'),
152153
content: plugin.content,
153154
kind: 'validator',
154155
})

test/integration/__snapshots__/open-scd.test.snap.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ snapshots["open-scd looks like its snapshot"] =
178178
rule_folder
179179
</mwc-icon>
180180
<span>
181-
Validate using OCL
181+
[WIP] Validate OCL
182182
</span>
183183
</mwc-list-item>
184184
<oscd-plugine36e411de62aaf96 class="plugin validator">
@@ -1135,7 +1135,7 @@ snapshots["open-scd looks like its snapshot"] =
11351135
<mwc-icon slot="meta">
11361136
rule_folder
11371137
</mwc-icon>
1138-
Validate using OCL
1138+
[WIP] Validate OCL
11391139
</mwc-check-list-item>
11401140
<mwc-check-list-item
11411141
aria-disabled="false"

0 commit comments

Comments
 (0)