tweak layer naming

This commit is contained in:
Mateusz Konieczny 2022-12-06 09:56:07 +01:00
parent e885d758dc
commit 46a7ac6cf3
5 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ const CreativeSwitcherProps: React.FC<CreativeSwitcherProps> = (props) => {
<form className={`creative-switcher ${creative}`} onSubmit={creativeSwitch}>
<button className="btn btn-outline btn-outline-dark"
type="submit">
Creative Enterprise Zones display ({(creative === 'enabled')? 'Enabled' : 'Disabled'})
{(creative === 'enabled')? 'Switch off Creative Enterprise Zones overlay' : 'Switch on Flood Zones overlay'}
</button>
</form>
);

View File

@ -12,7 +12,7 @@ const FloodSwitcherProps: React.FC<FloodSwitcherProps> = (props) => {
<form className={`flood-switcher ${flood}`} onSubmit={floodSwitch}>
<button className="btn btn-outline btn-outline-dark"
type="submit">
Switch flood zone overlay ({(flood === 'enabled')? 'Enabled' : 'Disabled'})
{(flood === 'enabled')? 'Switch off Flood Zone overlay' : 'Switch on Flood Zone overlay'}
</button>
</form>
);

View File

@ -12,7 +12,7 @@ const HousingSwitcherProps: React.FC<HousingSwitcherProps> = (props) => {
<form className={`housing-switcher ${housing}`} onSubmit={housingSwitch}>
<button className="btn btn-outline btn-outline-dark"
type="submit">
Housing Zone display ({(housing === 'enabled')? 'Enabled' : 'Disabled'})
{(housing === 'enabled')? 'Switch off Housing Zones overlay' : 'Switch on Housing Zones overlay'}
</button>
</form>
);

View File

@ -11,7 +11,7 @@ const ParcelSwitcher: React.FC<ParcelSwitcherProps> = (props) => (
<form className={`parcel-switcher ${props.currentDisplay}`} onSubmit={props.onSubmit}>
<button className="btn btn-outline btn-outline-dark"
type="submit">
{(props.currentDisplay === 'enabled')? 'Switch off Parcel overlay' : 'Switch on Parcel overlay'}
{(props.currentDisplay === 'enabled')? 'Switch off Parcel (sample) overlay' : 'Switch on Parcel (sample) overlay'}
</button>
</form>
);

View File

@ -12,7 +12,7 @@ const VistaSwitcherProps: React.FC<VistaSwitcherProps> = (props) => {
<form className={`vista-switcher ${vista}`} onSubmit={vistaSwitch}>
<button className="btn btn-outline btn-outline-dark"
type="submit">
Protected Vistas ({(vista === 'enabled')? 'Enabled' : 'Disabled'})
{(vista === 'enabled')? 'Switch off Protected Vistas overlay' : 'Switch on Protected Vistas overlay'}
</button>
</form>
);