mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 22:26:01 +00:00
SYNC: chart labels for pie chart
This commit is contained in:
committed by
Diflow
parent
171d58658a
commit
e77b83bd92
@@ -637,7 +637,7 @@ export function parseNumberSafe(value) {
|
||||
return parseFloat(value);
|
||||
}
|
||||
|
||||
const frontMatterRe = /^--\ >>>[ \t]*\n(.*)\n-- <<<[ \t]*\n/s;
|
||||
const frontMatterRe = /^--\ >>>[ \t\r]*\n(.*)\n-- <<<[ \t\r]*\n/s;
|
||||
|
||||
export function getSqlFrontMatter(text: string, yamlModule) {
|
||||
const match = text.match(frontMatterRe);
|
||||
|
||||
Reference in New Issue
Block a user