use codename for unknown devices

This commit is contained in:
Daniel Micay 2019-04-27 09:51:27 -04:00
parent 3bb1dcc8dc
commit 64ec07637c
2 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@
<div id="stable"></div> <div id="stable"></div>
<h2>Beta channel</h2> <h2>Beta channel</h2>
<div id="beta"></div> <div id="beta"></div>
<script src="/releases.js?0"></script> <script src="/releases.js?1"></script>
</div> </div>
</body> </body>
</html> </html>

View File

@ -23,7 +23,7 @@ function deviceModel(device) {
if (device === "walleye") { if (device === "walleye") {
return "Pixel 2"; return "Pixel 2";
} }
return "Unknown"; return device;
} }
for (const channel of channels) { for (const channel of channels) {