add editable URL
This commit is contained in:
1 parent
6e0bed589d
commit
aaee0f7edd
2 files changed
+4
-1
No files matched your search
@@ -15,6 +15,7 @@ import timezones from "../../../../../Utils/timezones.json";
|
|||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
|
||||||
const TabSettings = ({
|
const TabSettings = ({
|
||||||
|
isCreate,
|
||||||
tabValue,
|
tabValue,
|
||||||
form,
|
form,
|
||||||
handleFormChange,
|
handleFormChange,
|
||||||
@@ -68,8 +69,8 @@ const TabSettings = ({
|
|||||||
id="url"
|
id="url"
|
||||||
name="url"
|
name="url"
|
||||||
type="url"
|
type="url"
|
||||||
|
disabled={!isCreate}
|
||||||
label="Your status page address"
|
label="Your status page address"
|
||||||
disabled
|
|
||||||
value={form.url}
|
value={form.url}
|
||||||
onChange={handleFormChange}
|
onChange={handleFormChange}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import Content from "./Content";
|
|||||||
import PropTypes from "prop-types";
|
import PropTypes from "prop-types";
|
||||||
|
|
||||||
const Tabs = ({
|
const Tabs = ({
|
||||||
|
isCreate,
|
||||||
form,
|
form,
|
||||||
errors,
|
errors,
|
||||||
monitors,
|
monitors,
|
||||||
@@ -47,6 +48,7 @@ const Tabs = ({
|
|||||||
progress={progress}
|
progress={progress}
|
||||||
removeLogo={removeLogo}
|
removeLogo={removeLogo}
|
||||||
errors={errors}
|
errors={errors}
|
||||||
|
isCreate={isCreate}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<Content
|
<Content
|
||||||
|
|||||||
Reference in new issue
Block a user