Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: hide row limit tips in admin mode (#10792)

Liu Jib3653cc0ed63
diff --git a/frontend/src/views/sql-editor/EditorCommon/ResultView/SingleResultViewV1.vue b/frontend/src/views/sql-editor/EditorCommon/ResultView/SingleResultViewV1.vue
index 6a2a7720b9..43587138b6 100644
--- a/frontend/src/views/sql-editor/EditorCommon/ResultView/SingleResultViewV1.vue
+++ b/frontend/src/views/sql-editor/EditorCommon/ResultView/SingleResultViewV1.vue
@@ -21,7 +21,10 @@
`${data.length} ${t("sql-editor.rows", data.length)}`
}}</span>
<span
- v-if="data.length === RESULT_ROWS_LIMIT"
+ v-if="
+ currentTab.mode === TabMode.ReadOnly &&
+ data.length === RESULT_ROWS_LIMIT
+ "
class="ml-2 whitespace-nowrap text-sm text-gray-500"
>
<span>-</span>