mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Revert "redirect to /dashboard when shrinking on computer from /list on mobile size"
This reverts commit bb14bc18ca
.
This commit is contained in:
parent
bb14bc18ca
commit
04943c8553
2 changed files with 2 additions and 14 deletions
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "uptime-kuma",
|
||||
"version": "2.0.0-beta.0",
|
||||
"version": "2.0.0-dev",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "uptime-kuma",
|
||||
"version": "2.0.0-beta.0",
|
||||
"version": "2.0.0-dev",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@grpc/grpc-js": "~1.8.22",
|
||||
|
|
|
@ -11,18 +11,6 @@ export default {
|
|||
components: {
|
||||
MonitorList,
|
||||
},
|
||||
mounted() {
|
||||
if (!this.$root.isMobile && this.$route.path === '/list') {
|
||||
this.$router.push('/dashboard');
|
||||
}
|
||||
},
|
||||
watch: {
|
||||
'$root.isMobile'(newVal) {
|
||||
if (!newVal && this.$route.path === '/list') {
|
||||
this.$router.push('/dashboard');
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue