Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
merefield committed Jan 24, 2025
1 parent d9cf21e commit c10a92a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
<template>
{{#if @outletArgs.topic.location}}
<span class="location-after-title">
<LocationLabelContainer
@topic={{@outletArgs.topic}}
@parent="topic-list"
/>
</span>
{{/if}}
</template>
import Component from "@glimmer/component";
import LocationLabelContainer from "../../components/location-label-container";

export default class LocationLabel extends Component {

Check failure on line 4 in assets/javascripts/discourse/connectors/topic-list-after-title/location-label.gjs

View workflow job for this annotation

GitHub Actions / ci / linting

Do not create empty backing classes for Glimmer template tag only components
<template>
{{#if @outletArgs.topic.location}}
<span class="location-after-title">
<LocationLabelContainer
@topic={{@outletArgs.topic}}
@parent="topic-list"
/>
</span>
{{/if}}
</template>
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { scheduleOnce } from "@ember/runloop";
import { withPluginApi } from "discourse/lib/plugin-api";
import Composer from "discourse/models/composer";
import NavItem from "discourse/models/nav-item";
import TopicStatus from "discourse/raw-views/topic-status";
import {
default as discourseComputed,
observes,
Expand Down

0 comments on commit c10a92a

Please # to comment.