1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-12-20 00:12:26 +02:00
Files
mailpit/server/ui-src/stores/pagination.js

12 lines
362 B
JavaScript

import { reactive } from "vue";
export const pagination = reactive({
start: 0, // pagination offset
limit: 50, // per page
defaultLimit: 50, // used to shorten URL's if current limit == defaultLimit
total: 0, // total results of current view / filter
count: 0, // number of messages currently displayed
});
export const limitOptions = [25, 50, 100, 200];