Feature: Add a collapse/show advanced view feature on the Dashboard

fixes #134
This commit is contained in:
softsimon committed 2020-10-27 02:58:29 +07:00
1 parent 645772c01a
commit edf2d4205d
4 files changed
+180 -105

No files matched your search

@@ -0,0 +1,22 @@
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class StorageService {
getValue(key: string): string {
try {
return localStorage.getItem(key);
} catch (e) {
console.log(e);
}
}
setValue(key: string, value: any): void {
try {
localStorage.setItem(key, value);
} catch (e) {
console.log(e);
}
}
}