mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-22 18:32:00 +00:00
WIP
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
const parentParams = new URLSearchParams(window.parent.location.search);
|
||||
|
||||
export function extractFeatures(params?: URLSearchParams): { [key: string]: string } {
|
||||
params = params || parentParams;
|
||||
params = params || new URLSearchParams(window.parent.location.search);
|
||||
const featureParamRegex = /feature.(.*)/i;
|
||||
const features: { [key: string]: string } = {};
|
||||
params.forEach((value: string, param: string) => {
|
||||
|
||||
Reference in New Issue
Block a user