I had a Power-Up on one of my Trello boards, and it was working fine until about a week ago. This Power-Up used two card-buttons
, one of which had a condition: admin, but now it is visible to everyone, even though this issue did not exist until a week ago. Additionally, there was another button that was linked to a URL, but that link has stopped working as well. These two problems have only recently occurred.
Hello @test user,
Welcome to the community! Is the Power-Up one of those made by Trello? If it's a third party Power-Up, have you contacted the builders/company?
Thank you!
it's a custom power-up.
this is code:
window.TrelloPowerUp.initialize({
'card-buttons': async function (t, opts) {
let items = []
if (someCondition) {
items.push({
icon: './assets/images/image.svg',
text: 'X',
condition: 'admin',
callback: (t) => {
return t.popup({
title: 'title',
url: './views/index.html',
height: 400,
args: {APP_URL: 'url'}
})
},
})
}
return items;
},
});
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @test user,
Can you check back and see if the issue persists? The Trello team just merged a fix for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.