mirror of
https://github.com/huhu/rust-search-extension
synced 2024-11-14 15:47:12 +00:00
Fix manage page bug
This commit is contained in:
parent
d2b14291e4
commit
3a672d0843
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ const STATS_PATTERNS = [{
|
|||
},
|
||||
{
|
||||
name: 'other',
|
||||
pattern: /^[>%?]|(1\.).*/i,
|
||||
pattern: /^[>%?]|(v?1\.).*/i,
|
||||
},
|
||||
];
|
||||
const WEEKS = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
|
||||
|
@ -75,7 +75,7 @@ class Statistics {
|
|||
self.typeData = stats.typeData;
|
||||
self.hoursData = stats.hoursData;
|
||||
self.total = stats.total;
|
||||
self.saveData = stats.saveData;
|
||||
self.saveData = stats.saveData || [];
|
||||
}
|
||||
return self;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue