Ran code formatting

This commit is contained in:
guerler
2019-05-01 17:46:17 -04:00
parent c1316a3bc1
commit 159f316284
3 changed files with 6 additions and 3 deletions
@@ -73,7 +73,9 @@ export class TagService {
async delete(rawTag) {
const { id, itemClass, context } = this;
const tag = createTag(rawTag);
const url = `/tag/remove_tag_async?item_id=${id}&item_class=${itemClass}&context=${context}&tag_name=${tag.text}`;
const url = `/tag/remove_tag_async?item_id=${id}&item_class=${itemClass}&context=${context}&tag_name=${
tag.text
}`;
const response = await axios.get(url);
if (response.status !== 200) {
throw new Error(`Unable to delete tag: ${tag}`);
@@ -24,7 +24,8 @@
<a id="register-toggle" href="#" @click.prevent="toggleLogin">Register here.</a>
</span>
<span v-else>
Registration for this Galaxy instance is disabled. Please contact an administrator for assistance.
Registration for this Galaxy instance is disabled. Please contact an administrator for
assistance.
</span>
</b-card-footer>
</b-card>
+1 -1
View File
@@ -29,7 +29,7 @@ export function make_popupmenu(button_element, initial_options) {
// Need setTimeouts so clicks don't interfere with each other
setTimeout(() => {
// Dynamically generate the wrapper holding all the selectable options of the menu.
var menu_element = $(`<div class="dropdown-menu" id="${button_element.attr('id')}-menu"/>`);
var menu_element = $(`<div class="dropdown-menu" id="${button_element.attr("id")}-menu"/>`);
var options = button_element.data("menu_options");
if (_.size(options) <= 0) {
$('<div class="dropdown-item">No Options.</div>').appendTo(menu_element);