avoid problem with disabled 'erase' button and with console error about DOM insertion
This commit is contained in:
@@ -317,7 +317,10 @@
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="mt-8 p-4 border rounded-lg bg-white shadow">
|
||||
<div
|
||||
v-if="!isLoading && currentMeeting != null && !!currentMeeting.password"
|
||||
class="mt-8 p-4 border rounded-lg bg-white shadow"
|
||||
>
|
||||
<!-- Pairwise matches (organizer only: this page is organizer's meeting) -->
|
||||
<div class="border-gray-200">
|
||||
<h3 class="font-semibold mb-2">Matching Pairs</h3>
|
||||
@@ -511,6 +514,7 @@ export default class OnboardMeetingView extends Vue {
|
||||
|
||||
selectedProjectData: PlanData | null = null;
|
||||
showDeleteConfirm = false;
|
||||
|
||||
get minDateTime() {
|
||||
const now = new Date();
|
||||
now.setMinutes(now.getMinutes() + 5); // Set minimum 5 minutes in the future
|
||||
@@ -896,7 +900,7 @@ export default class OnboardMeetingView extends Vue {
|
||||
this.newOrUpdatedMeetingInputs = null;
|
||||
|
||||
if (this.currentMeeting?.password) {
|
||||
this.$router.push({
|
||||
await this.$router.push({
|
||||
name: "onboard-meeting-setup",
|
||||
query: { password: this.currentMeeting?.password },
|
||||
});
|
||||
@@ -977,7 +981,8 @@ export default class OnboardMeetingView extends Vue {
|
||||
"Error fetching match pairs: " + errorStringForLog(error),
|
||||
true,
|
||||
);
|
||||
this.matchPairs = null;
|
||||
// Don't overwrite matchPairs on fetch error - preserve existing data so we don't wipe
|
||||
// good matches on transient failures (e.g. after navigating away and back).
|
||||
this.notify.error(
|
||||
serverMessageForUser(error as unknown as AxiosErrorResponse) ||
|
||||
"Failed to load matches.",
|
||||
|
||||
Reference in New Issue
Block a user