Commit c77b2649 authored by Fatih Acet's avatar Fatih Acet

IssueNotesRefactor: Fix accessLevel non existence case.

parent ce80c46a
...@@ -7,7 +7,8 @@ export default { ...@@ -7,7 +7,8 @@ export default {
props: { props: {
accessLevel: { accessLevel: {
type: String, type: String,
required: true, required: false,
default: '',
}, },
reportAbusePath: { reportAbusePath: {
type: String, type: String,
...@@ -38,11 +39,14 @@ export default { ...@@ -38,11 +39,14 @@ export default {
<template> <template>
<div class="note-actions"> <div class="note-actions">
<span class="note-role"> <span
v-if="accessLevel"
class="note-role">
{{accessLevel}} {{accessLevel}}
</span> </span>
<a <a
class="note-action-button note-emoji-button js-add-award js-note-emoji js-user-authored has-tooltip" data-position="right" class="note-action-button note-emoji-button js-add-award js-note-emoji js-user-authored has-tooltip"
data-position="right"
href="#" href="#"
title="Add reaction"> title="Add reaction">
<i <i
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment