logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe git clone https://anongit.hacktivis.me/git/pleroma-fe.git/

statusHistory.js (369B)


  1. import { defineStore } from 'pinia'
  2. export const useStatusHistoryStore = defineStore('statusHistory', {
  3. state: () => ({
  4. params: {},
  5. modalActivated: false
  6. }),
  7. actions: {
  8. openStatusHistoryModal (params) {
  9. this.params = params
  10. this.modalActivated = true
  11. },
  12. closeStatusHistoryModal () {
  13. this.modalActivated = false
  14. }
  15. }
  16. })