Skip to content

Commit a660117

Browse files
committed
use latest helper in dev
1 parent 6fe31c2 commit a660117

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

app/Models/InstanceSettings.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,4 +85,17 @@ public function getTitleDisplayName(): string
8585

8686
return "[{$instanceName}]";
8787
}
88+
89+
public function helperVersion(): Attribute
90+
{
91+
return Attribute::make(
92+
get: function () {
93+
if (isDev()) {
94+
return 'latest';
95+
}
96+
97+
return $this->helper_version;
98+
}
99+
);
100+
}
88101
}

0 commit comments

Comments
 (0)