diff --git a/src/components/LinkItems/Item.vue b/src/components/LinkItems/Item.vue
index dbe96ca9..800c8658 100644
--- a/src/components/LinkItems/Item.vue
+++ b/src/components/LinkItems/Item.vue
@@ -63,6 +63,7 @@ export default {
color: String, // Optional text and icon color, specified in hex code
backgroundColor: String, // Optional item background color
url: String, // URL to the resource, optional but recommended
+ provider: String, // Optional provider name, for external apps
hotkey: Number, // Shortcut for quickly launching app
target: { // Where resource will open, either 'newtab', 'sametab' or 'modal'
type: String,
@@ -131,14 +132,16 @@ export default {
},
/* Returns configuration object for the tooltip */
getTooltipOptions() {
- if (!this.description) return {}; // If no description, then skip
- const hotkeyText = this.hotkey ? `\nPress '${this.hotkey}' to launch` : '';
+ if (!this.description && !this.provider) return {}; // If no description, then skip
+ const description = this.description ? this.description : '';
+ const providerText = this.provider ? `Provider: ${this.provider}` : '';
+ const lb1 = description && providerText ? '
' : '';
+ const hotkeyText = this.hotkey ? `
Press '${this.hotkey}' to launch` : '';
return {
- disabled: !this.description,
- content: this.description + hotkeyText,
+ content: providerText + lb1 + description + hotkeyText,
trigger: 'hover focus',
hideOnTargetClick: true,
- html: false,
+ html: true,
placement: this.statusResponse ? 'left' : 'auto',
delay: { show: 600, hide: 200 },
classes: 'item-description-tooltip',
diff --git a/src/components/LinkItems/Section.vue b/src/components/LinkItems/Section.vue
index 51edd317..8f4206c5 100644
--- a/src/components/LinkItems/Section.vue
+++ b/src/components/LinkItems/Section.vue
@@ -31,6 +31,7 @@
:statusCheckHeaders="item.statusCheckHeaders"
:itemSize="newItemSize"
:hotkey="item.hotkey"
+ :provider="item.provider"
:enableStatusCheck="shouldEnableStatusCheck(item.statusCheck)"
:statusCheckInterval="getStatusCheckInterval()"
:statusCheckAllowInsecure="item.statusCheckAllowInsecure"