Chore: Add link to product docs on sidebar (#5119)
Co-authored-by: Pranav Raj S <pranav@chatwoot.com>
This commit is contained in:
parent
f6891aebbb
commit
1594d49a70
7 changed files with 26 additions and 2 deletions
|
@ -16,6 +16,13 @@
|
|||
/>
|
||||
</nav>
|
||||
<div class="menu vertical user-menu">
|
||||
<primary-nav-item
|
||||
v-if="!isACustomBrandedInstance"
|
||||
icon="book-open-globe"
|
||||
name="DOCS"
|
||||
:open-in-new-page="true"
|
||||
:to="helpDocsURL"
|
||||
/>
|
||||
<notification-bell @open-notification-panel="openNotificationPanel" />
|
||||
<agent-details @toggle-menu="toggleOptions" />
|
||||
<options-menu
|
||||
|
@ -34,7 +41,7 @@ import PrimaryNavItem from './PrimaryNavItem';
|
|||
import OptionsMenu from './OptionsMenu';
|
||||
import AgentDetails from './AgentDetails';
|
||||
import NotificationBell from './NotificationBell';
|
||||
|
||||
import wootConstants from 'dashboard/constants';
|
||||
import { frontendURL } from 'dashboard/helper/URLHelper';
|
||||
|
||||
export default {
|
||||
|
@ -46,6 +53,10 @@ export default {
|
|||
NotificationBell,
|
||||
},
|
||||
props: {
|
||||
isACustomBrandedInstance: {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
logoSource: {
|
||||
type: String,
|
||||
default: '',
|
||||
|
@ -69,6 +80,7 @@ export default {
|
|||
},
|
||||
data() {
|
||||
return {
|
||||
helpDocsURL: wootConstants.DOCS_URL,
|
||||
showOptionsMenu: false,
|
||||
};
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue