Skip to content

Commit ea92929

Browse files
committed
Separate out FT.PROFILE and other search commands and set the default
to false for the profile one.
1 parent 32bb07a commit ea92929

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

redisinsight/ui/src/packages/redisearch/package.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,24 @@
3737
"matchCommands": [
3838
"FT.INFO",
3939
"FT.SEARCH",
40-
"FT.AGGREGATE",
41-
"FT.PROFILE"
40+
"FT.AGGREGATE"
4241
],
4342
"iconDark": "./dist/table_view_icon_dark.svg",
4443
"iconLight": "./dist/table_view_icon_light.svg",
4544
"description": "RediSearch default plugin",
4645
"default": true
46+
},
47+
{
48+
"id": "redisearch-profile",
49+
"name": "Table",
50+
"activationMethod": "renderRediSearch",
51+
"matchCommands": [
52+
"FT.PROFILE"
53+
],
54+
"iconDark": "./dist/table_view_icon_dark.svg",
55+
"iconLight": "./dist/table_view_icon_light.svg",
56+
"description": "RediSearch default plugin",
57+
"default": false
4758
}
4859
],
4960
"devDependencies": {

0 commit comments

Comments
 (0)