comand-component-library 3.3.17 → 3.3.18
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
<template>
|
2
2
|
<div class="cmd-company-logo">
|
3
|
-
<router-link v-if="link
|
3
|
+
<router-link v-if="link?.type === 'router'" :to="link?.path" :title="link?.tooltip">
|
4
4
|
<!-- begin CmdImage -->
|
5
5
|
<CmdImage :image="image" />
|
6
6
|
<!-- end CmdImage -->
|
7
7
|
</router-link>
|
8
|
-
<a v-else-if="link
|
8
|
+
<a v-else-if="link?.type === 'href'" :href="link?.path" :title="link?.tooltip">
|
9
9
|
<!-- begin CmdImage -->
|
10
10
|
<CmdImage :image="image" />
|
11
11
|
<!-- end CmdImage -->
|