Skip to content

Commit

Permalink
Merge pull request #148 from vatsimnetwork/development
Browse files Browse the repository at this point in the history
  • Loading branch information
williammck authored Oct 17, 2024
2 parents d22b5e2 + e286d8b commit 299f174
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/Http/Livewire/Controllers/ConflictChecker.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,18 @@

class ConflictChecker extends Component
{
#[Reactive]
public $callsign;

public $originalLevel;

#[Reactive]
public $level;

public $originalEntry;

#[Reactive]
public $entry;

public $originalTime;

#[Reactive]
public $time;

public $conflicts = [];
Expand Down
17 changes: 17 additions & 0 deletions resources/views/livewire/controllers/create-manual-clx.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,4 +151,21 @@
</div>
</form>
</div>
<script type="module">
$("#flight_level").change(function () {
Livewire.dispatch('levelChanged', { newLevel: this.value });
});
$('#entry_time').blur(function () {
Livewire.dispatch('timeChanged', { newTime: this.value });
});
$('#track_id').change(function () {
Livewire.dispatch('trackChanged', { newTrackId: this.track });
});
$('#random_routeing').blur(function () {
Livewire.dispatch('rrChanged', { newRouteing: this.value });
});
</script>
</div>

0 comments on commit 299f174

Please sign in to comment.