From d8f1ed13769e0760ceff98695088edce3cfe1a02 Mon Sep 17 00:00:00 2001 From: Richard Cox Date: Mon, 4 Jul 2022 10:04:11 +0100 Subject: [PATCH] Lower the maximum number of table rows a user can choose to display - This removes the options for 250, 500 and 1000 - Note - this does NOT change user preferences that have already been set to one of the removed options. For those cases the value will remain, however the user will not be able to return to it if changed --- shell/store/prefs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/store/prefs.js b/shell/store/prefs.js index 744b874418..c87e778e93 100644 --- a/shell/store/prefs.js +++ b/shell/store/prefs.js @@ -59,7 +59,7 @@ export const THEME = create('theme', 'auto', { export const PREFERS_SCHEME = create('pcs', '', { asCookie, asUserPreference: false }); export const LOCALE = create('locale', 'en-us', { asCookie }); export const KEYMAP = create('keymap', 'sublime', { options: ['sublime', 'emacs', 'vim'] }); -export const ROWS_PER_PAGE = create('per-page', 100, { options: [10, 25, 50, 100, 250, 500, 1000], parseJSON }); +export const ROWS_PER_PAGE = create('per-page', 100, { options: [10, 25, 50, 100], parseJSON }); export const LOGS_WRAP = create('logs-wrap', true, { parseJSON }); export const LOGS_TIME = create('logs-time', true, { parseJSON }); export const LOGS_RANGE = create('logs-range', '30 minutes', { parseJSON });