diff --git a/web/explorer/src/components/FunctionCapabilities.vue b/web/explorer/src/components/FunctionCapabilities.vue index 8153b133..c3e9e463 100644 --- a/web/explorer/src/components/FunctionCapabilities.vue +++ b/web/explorer/src/components/FunctionCapabilities.vue @@ -7,7 +7,8 @@ size="small" :filters="filters" :filterMode="filterMode" - :globalFilterFields="['funcaddr', 'ruleName', 'namespace']" + filterDisplay="row" + :globalFilterFields="['address', 'rule', 'namespace']" > - + + - + + - + + + - - - - diff --git a/web/explorer/src/components/RuleMatchesTable.vue b/web/explorer/src/components/RuleMatchesTable.vue index 9b84fc14..71daf622 100644 --- a/web/explorer/src/components/RuleMatchesTable.vue +++ b/web/explorer/src/components/RuleMatchesTable.vue @@ -339,11 +339,6 @@ onMounted(() => { visibility: hidden !important; height: 1.3rem; } -/* Disable the toggle button for rules */ -:deep(.p-treetable-tbody > tr:is([aria-level="1"]) > td > div > .p-treetable-node-toggle-button) { - visibility: collapse !important; - height: 1.3rem; -} /* Make all matches nodes (i.e. not rule names) slightly smaller, and tighten up the spacing between the rows */ diff --git a/web/explorer/src/components/SettingsPanel.vue b/web/explorer/src/components/SettingsPanel.vue index 1616b040..9dddd2f0 100644 --- a/web/explorer/src/components/SettingsPanel.vue +++ b/web/explorer/src/components/SettingsPanel.vue @@ -16,13 +16,14 @@ v-model="showLibraryRules" inputId="showLibraryRules" :binary="true" - :disabled="showNamespaceChart" + :disabled="showNamespaceChart || libraryRuleMatchesCount === 0" />
diff --git a/web/explorer/src/views/AnalysisView.vue b/web/explorer/src/views/AnalysisView.vue index 85efb2e2..fc020fd3 100644 --- a/web/explorer/src/views/AnalysisView.vue +++ b/web/explorer/src/views/AnalysisView.vue @@ -18,12 +18,14 @@ v-if="doc.meta.flavor === 'static' && showCapabilitiesByFunctionOrProcess && !showNamespaceChart" :data="doc" :show-library-rules="showLibraryRules" + :show-column-filters="showColumnFilters" />