Fix some warnings and rename variables
This commit is contained in:
parent
80d16b15d8
commit
5b3ae837dc
@ -124,9 +124,9 @@
|
|||||||
</v-app-bar>
|
</v-app-bar>
|
||||||
|
|
||||||
<!-- Routed pages are inserted here -->
|
<!-- Routed pages are inserted here -->
|
||||||
<v-content>
|
<v-main>
|
||||||
<router-view/>
|
<router-view/>
|
||||||
</v-content>
|
</v-main>
|
||||||
|
|
||||||
<!-- Footer on bottom -->
|
<!-- Footer on bottom -->
|
||||||
<v-footer app class="main">
|
<v-footer app class="main">
|
||||||
@ -152,7 +152,7 @@
|
|||||||
source: String
|
source: String
|
||||||
},
|
},
|
||||||
data: () => ({
|
data: () => ({
|
||||||
drawer: null,
|
drawer: false,
|
||||||
dialog: false,
|
dialog: false,
|
||||||
menu: false,
|
menu: false,
|
||||||
loggedIn: sessionStorage.getItem("loggedin"),
|
loggedIn: sessionStorage.getItem("loggedin"),
|
||||||
|
@ -62,7 +62,12 @@
|
|||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
name: "TimeRecordItem",
|
name: "TimeRecordItem",
|
||||||
props: ["timeRecord"]
|
props: ["timeRecord"],
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
fab: false
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -19,16 +19,14 @@
|
|||||||
<pre><v-icon color="primary">mdi-account-box</v-icon>{{" " + user.firstname + " " +user.lastname}}</pre>
|
<pre><v-icon color="primary">mdi-account-box</v-icon>{{" " + user.firstname + " " +user.lastname}}</pre>
|
||||||
</v-card>
|
</v-card>
|
||||||
</v-col>
|
</v-col>
|
||||||
<v-col></v-col>
|
<v-col cols="4"></v-col>
|
||||||
<v-col cols="2"></v-col>
|
|
||||||
<v-col></v-col>
|
|
||||||
</v-row>
|
</v-row>
|
||||||
</v-list-item-content>
|
</v-list-item-content>
|
||||||
<v-list-item-action>
|
<v-list-item-action>
|
||||||
<v-speed-dial v-model="fab" transition="slide-x-reverse-transition" direction="left" open-on-hover>
|
<v-speed-dial v-model="editButton" transition="slide-x-reverse-transition" direction="left" open-on-hover>
|
||||||
<template v-slot:activator>
|
<template v-slot:activator>
|
||||||
<v-btn v-model="fab" color="background" elevation="0" dark fab>
|
<v-btn v-model="editButton" color="background" elevation="0" dark fab>
|
||||||
<v-icon v-if="fab">mdi-close</v-icon>
|
<v-icon v-if="editButton">mdi-close</v-icon>
|
||||||
<v-icon v-else>mdi-pencil</v-icon>
|
<v-icon v-else>mdi-pencil</v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</template>
|
</template>
|
||||||
@ -51,16 +49,12 @@
|
|||||||
export default {
|
export default {
|
||||||
name: "UsersItems",
|
name: "UsersItems",
|
||||||
props: ["user"],
|
props: ["user"],
|
||||||
data: () => ({
|
data() {
|
||||||
fab: undefined,
|
return {
|
||||||
}),
|
editButton: false
|
||||||
methods: {
|
}
|
||||||
getUid(hrefTmp) {
|
|
||||||
var parts = hrefTmp.split("/");
|
|
||||||
return parts[4];
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
|
Loading…
Reference in New Issue
Block a user