use latest helper in dev
This commit is contained in:
parent
6fe31c26a3
commit
a660117015
1 changed files with 13 additions and 0 deletions
|
|
@ -85,4 +85,17 @@ public function getTitleDisplayName(): string
|
|||
|
||||
return "[{$instanceName}]";
|
||||
}
|
||||
|
||||
public function helperVersion(): Attribute
|
||||
{
|
||||
return Attribute::make(
|
||||
get: function () {
|
||||
if (isDev()) {
|
||||
return 'latest';
|
||||
}
|
||||
|
||||
return $this->helper_version;
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue