mirror of
https://github.com/coalaura/whiskr.git
synced 2025-12-02 20:22:52 +00:00
always show version
This commit is contained in:
@@ -1707,11 +1707,7 @@
|
|||||||
updateTotalCost();
|
updateTotalCost();
|
||||||
|
|
||||||
// render version
|
// render version
|
||||||
if (data.version === "dev") {
|
$version.innerHTML = `<a href="https://github.com/coalaura/whiskr" target="_blank">whiskr</a> ${data.version === "dev" ? "dev" : `<a href="https://github.com/coalaura/whiskr/releases/tag/${data.version}" target="_blank">${data.version}</a>`}`;
|
||||||
$version.remove();
|
|
||||||
} else {
|
|
||||||
$version.innerHTML = `<a href="https://github.com/coalaura/whiskr" target="_blank">whiskr</a> <a href="https://github.com/coalaura/whiskr/releases/tag/${data.version}" target="_blank">${data.version}</a>`;
|
|
||||||
}
|
|
||||||
|
|
||||||
// update search availability
|
// update search availability
|
||||||
searchAvailable = data.config.search;
|
searchAvailable = data.config.search;
|
||||||
|
|||||||
Reference in New Issue
Block a user