mirror of
https://github.com/speatzle/nfsense.git
synced 2025-09-13 07:19:07 +00:00
Add config Change tracking
This commit is contained in:
parent
56e5bf1f2c
commit
18ef592c55
4 changed files with 71 additions and 27 deletions
|
@ -9,9 +9,8 @@ let loading = $ref(false);
|
|||
|
||||
const columns = [
|
||||
{heading: 'Path', path: 'path'},
|
||||
{heading: 'Type', path: 'type'},
|
||||
{heading: 'From', path: 'from'},
|
||||
{heading: 'To', path: 'to'},
|
||||
{heading: 'Action', path: 'action'},
|
||||
{heading: 'ID', path: 'id'},
|
||||
];
|
||||
|
||||
const displayData = $computed(() => {
|
||||
|
@ -20,9 +19,8 @@ const displayData = $computed(() => {
|
|||
for (const change of changelog) {
|
||||
data.push({
|
||||
path: change.path,
|
||||
type: change.type,
|
||||
from: change.from,
|
||||
to: change.to,
|
||||
action: change.action,
|
||||
id: change.id,
|
||||
});
|
||||
}
|
||||
return data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue