fix: Yaml content is not matched with the monitoring template type
Created by: weili520
Signed-off-by: TheYoungManLi cjl@kubesphere.io
What type of PR is this?
/kind bug
What this PR does / why we need it:
the YAML content is not matched with the monitoring template type after creating a dashboard.
Which issue(s) this PR fixes:
Fixes ##2848 (closed)
Special notes for reviewers:
No UI problem
Does this PR introduced a user-facing change?
Yaml content is not matched with the monitoring template type after creating a dashboard.
Additional documentation, usage docs, etc.:
This problem is caused by the template.json being referenced by the page data, its 'settings. title' field will be overridden with the monitoring template type.