is_required is not required for shared envs
This commit is contained in:
@@ -88,6 +88,9 @@ class Show extends Component
|
|||||||
public function lock()
|
public function lock()
|
||||||
{
|
{
|
||||||
$this->env->is_shown_once = true;
|
$this->env->is_shown_once = true;
|
||||||
|
if ($this->isSharedVariable) {
|
||||||
|
unset($this->env->is_required);
|
||||||
|
}
|
||||||
$this->serialize();
|
$this->serialize();
|
||||||
$this->env->save();
|
$this->env->save();
|
||||||
$this->checkEnvs();
|
$this->checkEnvs();
|
||||||
|
|||||||
Reference in New Issue
Block a user