client/web: limit updates ui to unstable builds

The updates view still needs a final design pass, limit to unstable
track for now.

Updates #10261

Signed-off-by: Sonia Appasamy <sonia@tailscale.com>
pull/10537/head
Sonia Appasamy 12 months ago committed by Sonia Appasamy
parent 33de922d57
commit 261b6f1e9f

@ -34,6 +34,7 @@ import (
"tailscale.com/tailcfg"
"tailscale.com/types/logger"
"tailscale.com/util/httpm"
"tailscale.com/version"
"tailscale.com/version/distro"
)
@ -707,7 +708,7 @@ func availableFeatures() map[string]bool {
"advertise-routes": true, // available on all platforms
"use-exit-node": distro.Get() != distro.Synology, // see https://github.com/tailscale/tailscale/issues/1995
"ssh": envknob.CanRunTailscaleSSH() == nil,
"auto-update": clientupdate.CanAutoUpdate(),
"auto-update": version.IsUnstableBuild() && clientupdate.CanAutoUpdate(),
}
}

Loading…
Cancel
Save