Add breacrumbs for session-recording/channel-by-connection/channel

This commit is contained in:
Carlos Alcaide committed 2023-03-21 13:20:13 -07:00
1 parent 48031cca64
commit 2e06d01c39
3 files changed
+35

No files matched your search

@@ -0,0 +1,15 @@
import Controller from '@ember/controller';
import { inject as service } from '@ember/service';
export default class ScopesScopeSessionRecordingsSessionRecordingChannelsByConnectionChannelController extends Controller {
// =services
@service intl;
/**
* Session recording channel breadcrumb
*/
get breadCrumb() {
return this.model.channel_id;
}
}
@@ -1,6 +1,10 @@
{{page-title (t 'resources.session-recording.channel.title')}}
<Rose::Layout::Page as |page|>
<page.breadcrumbs>
<BreadCrumbs />
</page.breadcrumbs>
<page.header>
<h2>{{t 'resources.session-recording.channel.title'}}</h2>
</page.header>
@@ -0,0 +1,16 @@
import { module, test } from 'qunit';
import { setupTest } from 'admin/tests/helpers';
module(
'Unit | Controller | scopes/scope/session-recordings/session-recording/channels-by-connection/channel',
function (hooks) {
setupTest(hooks);
test('it exists', function (assert) {
let controller = this.owner.lookup(
'controller:scopes/scope/session-recordings/session-recording/channels-by-connection/channel'
);
assert.ok(controller);
});
}
);