We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3a0736 commit b5e7463Copy full SHA for b5e7463
1 file changed
web/src/pages/Route/transform.ts
@@ -63,7 +63,7 @@ export const transformStepData = ({
63
}
64
65
if (redirect.http_to_https) {
66
- if (Object(data.plugins).length === 0) {
+ if (Object.keys(data.plugins!).length === 0) {
67
data.plugins = {};
68
69
data.plugins!.redirect = redirect;
0 commit comments