mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Ran code formatting
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user