mirror of
https://github.com/coalaura/whiskr.git
synced 2025-09-08 17:06:42 +00:00
dont render version on dev
This commit is contained in:
@@ -520,7 +520,11 @@
|
||||
}
|
||||
|
||||
// render version
|
||||
$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>`;
|
||||
if (data.version === "dev") {
|
||||
$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>`;
|
||||
}
|
||||
|
||||
// render models
|
||||
$model.innerHTML = "";
|
||||
|
Reference in New Issue
Block a user