Browse Source

HUE-9485 [frontend] Use link for paginator dropdown

Johan Ahlen 5 years ago
parent
commit
82eb5eb57d

+ 1 - 1
desktop/core/src/desktop/js/components/Paginator.vue

@@ -22,7 +22,7 @@
       {{ offset + 1 }}-{{ Math.min(offset + limit, totalEntries) }} of {{ totalEntries }}
     </div>
     Rows per page:
-    <dropdown-menu :inline="true" :text="limit">
+    <dropdown-menu :link="true" :text="limit">
       <dropdown-menu-button
         v-for="presetLimit of presetLimits"
         :key="presetLimit"

+ 1 - 1
desktop/core/src/desktop/js/components/__snapshots__/Paginator.test.ts.snap

@@ -15,7 +15,7 @@ exports[`Paginator.vue should render 1`] = `
   Rows per page:
   
   <dropdown-menu-stub
-    inline="true"
+    link="true"
     text="25"
   >
     <dropdown-menu-button-stub>