fix parse kv
This commit is contained in:
@@ -936,6 +936,7 @@ export const isKnownUri = (uri:string) => {
|
||||
}
|
||||
|
||||
export function parseKeyValue(template:string){
|
||||
try {
|
||||
if(!template){
|
||||
return []
|
||||
}
|
||||
@@ -950,6 +951,9 @@ export function parseKeyValue(template:string){
|
||||
}
|
||||
|
||||
return keyValue
|
||||
} catch (error) {
|
||||
return []
|
||||
}
|
||||
}
|
||||
|
||||
export const sortableOptions = {
|
||||
|
||||
Reference in New Issue
Block a user