✨ Add RSS widget
This commit is contained in:
@@ -29,6 +29,7 @@ export const dashboardNamespaces = [
|
||||
'modules/torrents-status',
|
||||
'modules/weather',
|
||||
'modules/ping',
|
||||
'modules/rss',
|
||||
'modules/docker',
|
||||
'modules/dashdot',
|
||||
'modules/overseerr',
|
||||
|
||||
11
src/tools/shared/stopwatch.ts
Normal file
11
src/tools/shared/stopwatch.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
export class Stopwatch {
|
||||
private startTime: Date;
|
||||
|
||||
constructor() {
|
||||
this.startTime = new Date();
|
||||
}
|
||||
|
||||
getEllapsedMilliseconds() {
|
||||
return new Date().getTime() - this.startTime.getTime();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user