Skip to content
This repository was archived by the owner on Feb 6, 2025. It is now read-only.

Commit 13e53ad

Browse files
authored
FIX: Remove a duplicated topic-status icon (#366)
1 parent 8a3a263 commit 13e53ad

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

assets/javascripts/discourse/api-initializers/encrypt-icons.gjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ export default apiInitializer("2.0.0", (api) => {
5050

5151
// Main topic title
5252
api.renderInOutlet("after-topic-status", <template>
53-
{{#if @outletArgs.topic.encrypted_title}}
53+
{{~#if @outletArgs.topic.encrypted_title~}}
5454
<span
5555
title={{i18n "topic-statuses.encrypted.help"}}
5656
class="topic-status encrypted"
5757
>{{icon "user-secret"}}</span>
58-
{{/if}}
58+
{{~/if~}}
5959
</template>);
6060
});

assets/javascripts/discourse/connectors/after-topic-status/encrypted-status.gjs

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)