add UI selector for user ratings (group or own)
Allow a user to access their own dataset. Add a route for admins to give users access to groups.
This commit is contained in:
parent
fb059ae5d1
commit
69eb68a9a4
4 changed files with 111 additions and 14 deletions
|
|
@ -9,7 +9,7 @@
|
|||
@change="active = true"
|
||||
/>
|
||||
<span class="icon is-small is-left">
|
||||
<i class="fas fa-user"></i>
|
||||
<span class="fas fa-user">👤</span>
|
||||
</span>
|
||||
</p>
|
||||
<p class="control has-icons-left">
|
||||
|
|
@ -21,7 +21,7 @@
|
|||
@change="active = true"
|
||||
/>
|
||||
<span class="icon is-small is-left">
|
||||
<i class="fas fa-lock"></i>
|
||||
<span class="fas fa-lock">🔓</span>
|
||||
</span>
|
||||
</p>
|
||||
<p class="control">
|
||||
|
|
@ -36,12 +36,13 @@
|
|||
import { defineComponent } from "vue"
|
||||
|
||||
export default defineComponent({
|
||||
emits: ["login"],
|
||||
|
||||
data: () => ({
|
||||
user_id: window.localStorage.user_id || "",
|
||||
secret: window.localStorage.secret || "",
|
||||
active: true,
|
||||
}),
|
||||
emits: ["login"],
|
||||
mounted() {
|
||||
const { user_id, secret } = this
|
||||
if (user_id && secret) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue