marriedtermiteblyi commited on
Commit
1a5dd3e
·
verified ·
1 Parent(s): 8fed43a

Upload 3 files

Browse files
Files changed (1) hide show
  1. 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);