Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor : add component base table data & remove pagination on klaim rw #194

Open
wants to merge 2 commits into
base: development
Choose a base branch
from

Conversation

marsellavaleria19
Copy link
Collaborator

Changes

  • add component & function base table data
  • add component base table data & remove pagination on component claim rw

Evidence

title: add component base table data & remove pagination on klaim rw
project: Jabar Super Apps
participants: @marsellavaleria19

:button="false"
placeholder="Masukkan nama akun"
class="w-[275px] text-gray-500"
@input="onSearch"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello @marsellavaleria19 is this event used? I cannot find onSeach method on this file 🤔

Comment on lines +74 to +81
computed: {
query () {
return { ...this.$store.state['data-table'].query }
},
pagination () {
return { ...this.$store.state['data-table'].pagination }
}
},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hello @marsellavaleria19 if I understand this correctly this BaseTableData component is accessing 'data-table' store (query and pagination property). So every page that uses this component will access the same store? 🤔

if I'm using on 'homepage' page component, and 'about' page component, these two tables will have the same query and pagination data, no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants