Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
Project
IF3152-2023-K02-14-Sistem Manajemen Kursus Mengemudi RPL-FRONTEND
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
K2_G14
IF3152-2023-K02-14-Sistem Manajemen Kursus Mengemudi RPL-FRONTEND
Commits
cc89a359
Commit
cc89a359
authored
Nov 22, 2023
by
Esther Regina
Browse files
Options
Downloads
Patches
Plain Diff
fix: fixed required password
parent
69d5d842
No related branches found
No related tags found
2 merge requests
!10
chore: merge develop into main
,
!8
fix: fixed password required in update admin
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
pages/adminkursus/edit/[id].jsx
+4
-3
4 additions, 3 deletions
pages/adminkursus/edit/[id].jsx
with
4 additions
and
3 deletions
pages/adminkursus/edit/[id].jsx
+
4
−
3
View file @
cc89a359
...
...
@@ -18,7 +18,7 @@ const Edit = () => {
}
const
body
=
JSON
.
stringify
({
username
,
password
password
:
password
||
undefined
})
const
updateQuery
=
await
fetch
(
"
https://rpl-backend-production.up.railway.app/v1/adminkursus/update/
"
+
router
.
query
.
id
,
{
method
:
"
PATCH
"
,
...
...
@@ -79,6 +79,7 @@ const Edit = () => {
handleUpdate
()
return
;
}
}
>
<
div
className
=
"flex flex-row align-middle justify-between"
>
<
span
className
=
"h-min my-auto font-bold text-lg"
>
user_id
</
span
>
<
input
disabled
value
=
{
user_id
}
type
=
"tel"
required
className
=
"drop-shadow-xl w-2/3 p-2 rounded-xl"
/>
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
sign in
to comment