mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-26 05:25:56 +00:00
Compare commits
9 commits
fc50f06744
...
5fe2befddb
Author | SHA1 | Date | |
---|---|---|---|
|
5fe2befddb | ||
|
7dc6191b0a | ||
|
cfd20f086c | ||
|
2aebf316a4 | ||
|
8389f7c054 | ||
|
d64eefd70e | ||
|
d4c7ebfafe | ||
|
aae0673a3d | ||
|
45c03c2b40 |
2 changed files with 11 additions and 0 deletions
|
@ -72,6 +72,7 @@ class GoogleChat extends NotificationProvider {
|
||||||
|
|
||||||
// construct json data
|
// construct json data
|
||||||
let data = {
|
let data = {
|
||||||
|
fallbackText: chatHeader["title"],
|
||||||
cardsV2: [
|
cardsV2: [
|
||||||
{
|
{
|
||||||
card: {
|
card: {
|
||||||
|
|
|
@ -19,6 +19,16 @@ export default {
|
||||||
onResize() {
|
onResize() {
|
||||||
this.windowWidth = window.innerWidth;
|
this.windowWidth = window.innerWidth;
|
||||||
this.updateBody();
|
this.updateBody();
|
||||||
|
|
||||||
|
if (this.$router.currentRoute.value.path === "/dashboard"
|
||||||
|
|| this.$router.currentRoute.value.path === "/list") {
|
||||||
|
this.$router.push({
|
||||||
|
path: this.isMobile
|
||||||
|
? "/list"
|
||||||
|
: "/dashboard",
|
||||||
|
query: this.$router.currentRoute.value?.query,
|
||||||
|
});
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue