Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
IT Project 2020
Group B
pilar-web
Commits
12b17ccb
Commit
12b17ccb
authored
Nov 24, 2020
by
Wan Muhammad Rayhan Arwindra
🤸🏽
Browse files
Merge branch 'pbi-9' into 'staging'
Pbi 9 See merge request
!97
parents
e3680725
59d1d272
Pipeline
#61125
passed with stages
in 22 minutes and 12 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
12b17ccb
image
:
node:
12.18.4
image
:
node:
latest
stages
:
-
lint
-
test
...
...
src/component/TableComponent.jsx
View file @
12b17ccb
...
...
@@ -60,7 +60,6 @@ const TableComponent = ({
reset
:
resetFilter
,
}
=
useForm
();
const
[
filterTab
,
setFilterTab
]
=
useState
(
false
);
console
.
log
(
results
);
return
(
<
div
css
=
{
css
`
...
...
src/page/donasi/FormDonasi.jsx
View file @
12b17ccb
...
...
@@ -26,8 +26,6 @@ const FormDonasi = ({ idDonasi, defaultStatus }) => {
});
const
onSubmit
=
(
data
)
=>
{
console
.
log
(
data
);
console
.
log
(...
data
);
send
(
JSON
.
stringify
({
...
data
}));
};
return
(
...
...
src/page/pengguna/ListPengguna.jsx
View file @
12b17ccb
...
...
@@ -38,6 +38,11 @@ const ListPengguna = () => {
const
handleClose
=
()
=>
{
setDialogOpen
(
false
);
};
const
handleSubmit
=
e
=>
{
e
.
preventDefault
();
setSortBy
(
choice
);
handleClose
();
}
return
(
<
div
css
=
{
css
`
...
...
@@ -89,7 +94,7 @@ const ListPengguna = () => {
>
<
DialogTitle
id
=
"max-width-dialog-title"
>
Urutkan Berdasarkan
</
DialogTitle
>
<
DialogContent
>
<
form
onSubmit
=
{
()
=>
setSortBy
(
choice
)
}
>
<
form
onSubmit
=
{
handleSubmit
}
>
<
RowInput
>
<
input
data-testid
=
"transaksi-radio"
...
...
@@ -98,7 +103,7 @@ const ListPengguna = () => {
value
=
"transaksi"
id
=
"transaksi"
checked
=
{
choice
===
"
transaksi
"
}
onC
lick
=
{
()
=>
setChoice
(
"
transaksi
"
)
}
onC
hange
=
{
()
=>
setChoice
(
"
transaksi
"
)
}
/>
<
label
htmlFor
=
"preorder"
css
=
{
css
`
margin-left:20px
...
...
@@ -111,7 +116,7 @@ const ListPengguna = () => {
value
=
"donasi-uang"
id
=
"donasi-uang"
checked
=
{
choice
===
"
donasi-uang
"
}
onC
lick
=
{
()
=>
setChoice
(
"
donasi-uang
"
)
}
onC
hange
=
{
()
=>
setChoice
(
"
donasi-uang
"
)
}
/>
<
label
htmlFor
=
"preorder"
css
=
{
css
`
margin-left:20px
...
...
@@ -124,7 +129,7 @@ const ListPengguna = () => {
value
=
"donasi-barang"
id
=
"donasi-barang"
checked
=
{
choice
===
"
donasi-barang
"
}
onC
lick
=
{
()
=>
setChoice
(
"
donasi-barang
"
)
}
onC
hange
=
{
()
=>
setChoice
(
"
donasi-barang
"
)
}
/>
<
label
htmlFor
=
"preorder"
css
=
{
css
`
margin-left:20px
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment