Skip to content

Commit 1abfd51

Browse files
committed
undo weird change
1 parent e103b3a commit 1abfd51

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/webpage/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ if (window.location.pathname.startsWith("/channels")) {
116116
},
117117
{
118118
visible: function () {
119-
return thisUser.channelfocus?.guild.member.hasPermission("MANAGE_CHANNELS") || false;
119+
return thisUser.lookingguild?.member.hasPermission("MANAGE_CHANNELS") || false;
120120
},
121121
},
122122
);
@@ -130,7 +130,7 @@ if (window.location.pathname.startsWith("/channels")) {
130130
},
131131
{
132132
visible: function () {
133-
return thisUser.channelfocus?.guild.member.hasPermission("MANAGE_CHANNELS") || false;
133+
return thisUser.lookingguild?.member.hasPermission("MANAGE_CHANNELS") || false;
134134
},
135135
},
136136
);

0 commit comments

Comments
 (0)