Sync-in · Sovereign platform for file storage, sharing, synchronization, and collaboration.
TypeScript cloud-alternativecollaborationcollaborative-editingdropboxfile-serverfile-sharingfile-storagefile-syncfull-text-searchhomelabnextcloudon-premiseopen-sourceprivacy-firstprivate-cloudrealtimesecureself-hostedstorage-serverwebdav
chore(frontend:admin): sort by creation and modification date
johaven3eb0c1fdd258
diff --git a/frontend/src/app/applications/admin/components/admin-groups.component.html b/frontend/src/app/applications/admin/components/admin-groups.component.htmlindex 560540c2..c7b42310 100644--- a/frontend/src/app/applications/admin/components/admin-groups.component.html+++ b/frontend/src/app/applications/admin/components/admin-groups.component.html@@ -129,11 +129,13 @@}}@case ('createdAndModified') {- <span class="d-flex flex-column {{th.value.newly && m[th.value.newly] ? 'badge prop-newly-' + m[th.value.newly] : ''}}">- {{ m.createdAt | amDateFormat }}- @if (m.modifiedAt) {- {{ m.modifiedAt | amDateFormat }}- }+ <span class="d-flex justify-content-center {{th.value.newly && m[th.value.newly] ? 'badge prop-newly-' + m[th.value.newly] : ''}}">+ <span class="d-flex flex-column fs-xs">+ <span>{{ m.createdAt | amDateFormat }}</span>+ @if (m.modifiedAt) {+ <span>{{ m.modifiedAt | amDateFormat }}</span>+ }+ </span></span>}}diff --git a/frontend/src/app/applications/admin/components/admin-groups.component.ts b/frontend/src/app/applications/admin/components/admin-groups.component.tsindex abfc1054..926fbdc2 100644--- a/frontend/src/app/applications/admin/components/admin-groups.component.ts+++ b/frontend/src/app/applications/admin/components/admin-groups.component.ts@@ -148,8 +148,8 @@ export class AdminGroupsComponent {name: [{ prop: 'name', type: 'string' }],type: [{ prop: 'type', type: 'string' }],createdAndModified: [- { prop: 'modifiedAt', type: 'date' },- { prop: 'createdAt', type: 'date' }+ { prop: 'createdAt', type: 'date' },+ { prop: 'modifiedAt', type: 'date' }]}protected sortTable = new SortTable(this.constructor.name, this.sortSettings)