1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-04-25 12:25:04 +02:00
mailpit/server/ui-src/stores/pagination.js
2024-06-02 16:07:26 +12:00

12 lines
363 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]