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

fixes #134
This commit is contained in:
softsimon
2020-10-27 02:58:29 +07:00
parent 14e3918adf
commit c736840f6e
4 changed files with 180 additions and 105 deletions

View File

@@ -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);
}
}
}