feat: add UI for storage

This commit is contained in:
Vlad Stan 2023-02-09 14:33:19 +02:00
parent 50fd1942cc
commit cb81726297
3 changed files with 169 additions and 67 deletions

View file

@ -35,6 +35,15 @@ async function relayDetails(path) {
y.push(i)
}
return y
},
storageUnits: function () {
return ['KB', 'MB']
},
fullStorageActions: function () {
return [
{value: 'block', label: 'Block New Events'},
{value: 'prune', label: 'Prune Old Events'}
]
}
},