several enhancements (#1808)
* show all fields in timesheet api docs * fix action dropdown links #1806 * apply same validation rules for passwords and for api-tokens #1753 * added "duplicate team" action #1136
This commit is contained in:
@@ -30,4 +30,19 @@ trait VisibilityTrait
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function isShowHidden(): bool
|
||||
{
|
||||
return $this->visibility === VisibilityInterface::SHOW_HIDDEN;
|
||||
}
|
||||
|
||||
public function isShowVisible(): bool
|
||||
{
|
||||
return $this->visibility === VisibilityInterface::SHOW_VISIBLE;
|
||||
}
|
||||
|
||||
public function isShowBoth(): bool
|
||||
{
|
||||
return $this->visibility === VisibilityInterface::SHOW_BOTH;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user