Changeset View
Changeset View
Standalone View
Standalone View
src/resources/js/app.js
Show First 20 Lines • Show All 251 Lines • ▼ Show 20 Lines | methods: { | ||||
SupportForm.i18n = i18n | SupportForm.i18n = i18n | ||||
let form = new Vue(SupportForm) | let form = new Vue(SupportForm) | ||||
form.$mount($('<div>').appendTo(container)[0]) | form.$mount($('<div>').appendTo(container)[0]) | ||||
form.$root = this | form.$root = this | ||||
form.$toast = this.$toast | form.$toast = this.$toast | ||||
dialog = form.$el | dialog = form.$el | ||||
} | } | ||||
dialog.__vue__.showDialog() | dialog.__vue__.show() | ||||
}, | }, | ||||
statusClass(obj) { | statusClass(obj) { | ||||
if (obj.isDeleted) { | if (obj.isDeleted) { | ||||
return 'text-muted' | return 'text-muted' | ||||
} | } | ||||
if (obj.isDegraded || obj.isAccountDegraded || obj.isSuspended) { | if (obj.isDegraded || obj.isAccountDegraded || obj.isSuspended) { | ||||
return 'text-warning' | return 'text-warning' | ||||
▲ Show 20 Lines • Show All 187 Lines • Show Last 20 Lines |