\n\u003C/template>\n\n\u003Cscript setup>\nconst searchTerm = ref('');\n\nconst computedResultLimit = computed(() => {\n if (!searchTerm.value) {\n return 5;\n }\n return 20;\n});\n\u003C/script>\n```\n",[2073],{"name":2025,"color":2026},2393,"Command Palette: Specific Item Display with Conditional resultLimit Behavior","2024-10-16T09:31:26Z","https://github.com/nuxt/ui/issues/2393",0.83109426,{"description":2080,"labels":2081,"number":2083,"owner":1991,"repository":1992,"state":1993,"title":2084,"updated_at":2085,"url":2086,"score":2087},"### Environment\n\n- Operating System: Windows_NT\n- Node Version: v20.15.1\n- Nuxt Version: 3.13.2\n- CLI Version: 3.14.0\n- Nitro Version: 2.9.7\n- Package Manager: pnpm@9.12.0\n- Builder: -\n- User Config: -\n- Runtime Modules: -\n- Build Modules: -\n\n### Version\n\nv2.18.7\n\n### Reproduction\n\nhttps://stackblitz.com/edit/nuxt-ui-3rqgxj?file=app.vue\n\n### Description\n\nThe `UTable` component doesn't have a border\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2082],{"name":2002,"color":2014},2438,"No border in `UTable` component","2024-10-23T08:31:25Z","https://github.com/nuxt/ui/issues/2438",0.83257836,{"description":2089,"labels":2090,"number":2093,"owner":1991,"repository":1991,"state":1993,"title":2094,"updated_at":2095,"url":2096,"score":2097},"### Environment\n\ntest\n\n### Reproduction\n\nRefresh the page.\r\nObserve that it automatically redirects to the login page.\r\nCheck the console for any logged errors or unexpected behavior.\n\n### Describe the bug\n\n```\r\nexport default defineNuxtRouteMiddleware(async (_to, _from, next) => {\r\n const isAdmin = authAdmin();\r\n if (!isAdmin) return navigateTo({ name: \"login\" });\r\n});\r\n```\r\n\r\nThe current code has a bug that causes unexpected behavior and redirects to the login page when the page is refreshed. The issue stems from the fact that the authAdmin() function is not awaited before proceeding with the rest of the code execution. \r\n\r\nI've tried to access cookies or localStorage immediately but it works only without navigateTo.\r\n\r\nWhen the navigateTo function is used, the response data is not being logged in the console. This behavior could be related to the implementation of the navigateTo function or other factors within the application.\r\n\r\nTo reproduce the bug, follow these steps:\r\n\r\nRefresh the page.\r\nObserve that it automatically redirects to the login page.\r\n\r\nThe page should not automatically redirect to the login page when refreshed.\r\nAccessing cookies or localStorage should work as expected after calling authAdmin().\r\nThe response data should be logged in the console when using the navigateTo function.\r\n\r\nAny suggestions how to fix this one?\r\n\n\n### Additional context\n\n_No response_\n\n### Logs\n\n_No response_",[2091,2092],{"name":2047,"color":2048},{"name":2050,"color":2051},21250,"Page refresh triggers Automatic Redirect to Login Page and Prevents console logging (middleware + pinia)","2023-05-30T10:42:38Z","https://github.com/nuxt/nuxt/issues/21250",0.8351665,["Reactive",2099],{},["Set"],["ShallowReactive",2102],{"TRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"nSD9LDNIK6QzmnddZvfqBzPzrXtliZYqclHJnqBc_ns":-1},"/nuxt/test-utils/837"]