forked from potsda.mn/mobilizon
Show Mastodon relay subscribers as instances in admin panel
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
89fb46de67
commit
4a8fb41fd1
|
@ -39,6 +39,6 @@ export default class RelayMixin extends Vue {
|
||||||
}
|
}
|
||||||
|
|
||||||
isInstance(actor: IActor): boolean {
|
isInstance(actor: IActor): boolean {
|
||||||
return actor.type === ActorType.APPLICATION && actor.preferredUsername === 'relay';
|
return actor.type === ActorType.APPLICATION && (actor.preferredUsername === 'relay' || actor.preferredUsername === actor.domain);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -65,10 +65,6 @@ export default class ReportList extends Vue {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.container li {
|
|
||||||
margin: 10px auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
img.image {
|
img.image {
|
||||||
display: inline;
|
display: inline;
|
||||||
height: 1.5em;
|
height: 1.5em;
|
||||||
|
|
Loading…
Reference in a new issue