Upload 3 files
Browse files- static/app.js +4 -0
static/app.js
CHANGED
|
@@ -555,6 +555,10 @@ function hugpanel() {
|
|
| 555 |
return this.backupList.find((item) => item.zone_name === zoneName) || null;
|
| 556 |
},
|
| 557 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 558 |
async copyText(value, message = 'Đã copy') {
|
| 559 |
try {
|
| 560 |
await navigator.clipboard.writeText(value);
|
|
|
|
| 555 |
return this.backupList.find((item) => item.zone_name === zoneName) || null;
|
| 556 |
},
|
| 557 |
|
| 558 |
+
zoneBackupCount(zoneName) {
|
| 559 |
+
return this.backupList.filter((item) => item.zone_name === zoneName).length;
|
| 560 |
+
},
|
| 561 |
+
|
| 562 |
async copyText(value, message = 'Đã copy') {
|
| 563 |
try {
|
| 564 |
await navigator.clipboard.writeText(value);
|