Skip to content
Snippets Groups Projects
Commit 1bc4733f authored by Titus Netland's avatar Titus Netland
Browse files

Rating view fixed

parent 28b46c5c
No related branches found
No related tags found
1 merge request!98Rent history
Pipeline #180468 passed
......@@ -21,6 +21,7 @@
</div>
</div>
<colored-button
v-if="!isRated"
:text="'Vurder'"
class="px-4 flex-1"
@click="
......@@ -50,7 +51,7 @@ export default {
data() {
return {
user: {},
isRated: false,
isRated: true,
};
},
props: {
......@@ -116,6 +117,7 @@ export default {
this.user = await userService.getUserFromId(this.historyItem.renterId);
}
this.isRated = await userService.isRated(this.historyItem.rentId);
},
};
</script>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment