feat: provides MT Dashboard service (#110447)
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package schemaversion
|
||||
|
||||
import (
|
||||
"context"
|
||||
"math"
|
||||
)
|
||||
|
||||
@@ -16,7 +17,7 @@ const (
|
||||
|
||||
// V16 migrates dashboard layout from the old row-based system to the modern grid-based layout.
|
||||
// This migration follows the exact logic from DashboardMigrator.ts to ensure consistency between frontend and backend.
|
||||
func V16(dashboard map[string]interface{}) error {
|
||||
func V16(_ context.Context, dashboard map[string]interface{}) error {
|
||||
dashboard["schemaVersion"] = 16
|
||||
|
||||
upgradeToGridLayout(dashboard)
|
||||
|
||||
Reference in New Issue
Block a user