Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #24 from Ioannis/Fix_popover_content
Fix popover content
  • Loading branch information
aaschenbrener committed May 1, 2024
2 parents d9cc895 + add2a83 commit 828336b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions webroot/js/groups-table.js
Expand Up @@ -12,7 +12,6 @@ export default {
}
},
inject: ['txt', 'api', 'other'],
created() {},
template: /*html*/`
<table class="table w-100 mb-0" v-if="groups.length > 0">
<thead>
Expand All @@ -23,7 +22,7 @@ export default {
<tbody v-if="!nested">
<tr v-for="group in groups" class="collapse-adhoc-group-parent">
<td class="pl-3" v-if="columns.indexOf('name') > -1">
<span v-popover="group.name" class="grpr-popover-toggle">
<span v-popover data-toggle="popover" :data-content="group.name">
{{ group.displayExtension || 'No Name' }}
</span>
</td>
Expand Down Expand Up @@ -120,7 +119,7 @@ export default {
<template v-for="(group, key) in wggroup.Groups" v-if="show">
<tr :class="['collapse-wg-' + wggroup.WGName]" class="collapse-wg-working-group" :id="'collapse-wg-' + wggroup.WGName + '-' + key">
<td class="pl-3">
<span class="grpr-popover-toggle" v-popover="group.name">
<span v-popover data-toggle="popover" :data-content="group.name">
{{ group.WGApp || "No Name" }}
</span>
</td>
Expand Down
2 changes: 1 addition & 1 deletion webroot/js/nested-table.js
Expand Up @@ -56,7 +56,7 @@ export default {
<template v-for="(group, key) in wggroup.Groups" v-if="show">
<tr :class="['collapse-wg-' + wggroup.WGName]" class="collapse-wg-working-group" :id="'collapse-wg-' + wggroup.WGName + '-' + key">
<td class="pl-3">
<span class="grpr-popover-toggle" v-popover="group.name">
<span v-popover data-toggle="popover" :data-content="group.name">
{{ group.WGApp || "No Name" }}
</span>
</td>
Expand Down
3 changes: 1 addition & 2 deletions webroot/js/popover.js
@@ -1,7 +1,6 @@
export default {
mounted(el, { value }) {
mounted(el) {
jQuery(el).popover({
content: value,
trigger: 'hover',
placement: 'top',
container: 'body'
Expand Down

0 comments on commit 828336b

Please sign in to comment.