Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/public/views/Logs/Create/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ const createLogScreen = (model) => {
'New tags can be created at the ',
h('a#tagCreateLink', {
onclick: (e) => model.router.handleLinkEvent(e),
href: '?page=tag-create',
href: '/?page=tag-create',
}, 'Create Tag'),
' screen.',
]),
h('select#tags.form-control', {
multiple: true,
onchange: (e) => model.logs.setSelectedTags(e.target.selectedOptions),
}, !tagsAvailable ? h('option', {
onclick: () => model.router.go('?page=tag-create'),
onclick: () => model.router.go('/?page=tag-create'),
}, h('a#tagCreateLink', {
}, noTagsText)) :
allTags.isSuccess() ? [
Expand Down
1 change: 1 addition & 0 deletions lib/public/views/Subsystems/Overview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ const subsystemOverview = (model) => {
const data = model.subsystems.getSubsystems();

return [
data.isLoading() && spinner(),
h('h2.mv2', { onremove: () => model.subsystems.clearSubsystems() }, 'Subsystems'),
data.match({
NotAsked: () => {},
Expand Down
5 changes: 3 additions & 2 deletions lib/public/views/Tags/Create/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/

import { h } from '/js/src/index.js';
import spinner from '../../../components/common/spinner.js';
import errorAlert from '../../../components/common/errorAlert.js';

/**
Expand All @@ -25,9 +26,9 @@ const createTagScreen = (model) => {

const disabled = text.length < 3 || text.length > 20 || data.isLoading();

return h('div#create-log', [
return h('div#create-tag', [
data.isLoading() && spinner(),
data.isFailure() && data.payload.map(errorAlert),

h('', {
onremove: () => model.tags.clearEditor(),
}, [
Expand Down