@things-factory/board-ui 6.2.50 → 6.2.51

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -112,7 +112,7 @@ export class LinkBuilder extends LitElement {
112
112
  <label>${i18next.t('label.headless-link target-appliance')}</label>
113
113
 
114
114
  ${privileged(
115
- { name: 'query', category: 'security', superUserGranted: true, domainOwnerGranted: true },
115
+ { privilege: 'query', category: 'security', superUserGranted: true, domainOwnerGranted: true },
116
116
  html`
117
117
  <select
118
118
  @change=${e => (this.targetAppliance = this.appliances.find(appliance => appliance.id == e.target.value))}
@@ -184,7 +184,9 @@ export class LinkBuilder extends LitElement {
184
184
  this.appliances = []
185
185
  this.targetAppliance = null
186
186
 
187
- if (await hasPrivilege({ name: 'query', category: 'security', superUserGranted: true, domainOwnerGranted: true })) {
187
+ if (
188
+ await hasPrivilege({ privilege: 'query', category: 'security', superUserGranted: true, domainOwnerGranted: true })
189
+ ) {
188
190
  var response = (
189
191
  await client.query({
190
192
  query: gql`