Skip to content

Commit

Permalink
feat: added eslint disable next line
Browse files Browse the repository at this point in the history
  • Loading branch information
juzhiyuan committed Dec 12, 2020
1 parent b64509c commit 415b6f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions web/src/components/Plugin/PluginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ const PluginPage: React.FC<Props> = ({
fetchSchema(pluginName, schemaType).then((schema) => {
// NOTE: The frontend will inject the disable property into schema just like the manager-api does
if (!schema.properties) {
// eslint-disable-next-line
schema.properties = {}
}
;(schema.properties as any).disable = {
Expand Down

0 comments on commit 415b6f7

Please sign in to comment.