Documentation / @zerotal/admin / index / reconcile
Function: reconcile()
reconcile(
layout,keys):DashboardLayout
Defined in: admin/src/dashboardLayout.ts:96
Fill in a layout's order from the widgets that actually exist.
A layout saved when there were three widgets cannot reorder a fourth, so the order is reconciled against the current keys before anything is moved.
Parameters
layout
DashboardLayout | null
keys
string[]