use latest helper in dev

This commit is contained in:
Andras Bacsai 2024-09-30 11:14:53 +02:00
parent 6fe31c26a3
commit a660117015

View file

@ -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;
}
);
}
}